null terminate. duh.
CVS patchset: 435 CVS date: 1996/02/27 23:40:44
This commit is contained in:
parent
6fade5096a
commit
96ed778bc7
|
@ -590,6 +590,7 @@ static int parseForVerify(char *buf, int *verify_flags)
|
||||||
}
|
}
|
||||||
|
|
||||||
strncpy(ourbuf, p, end-p);
|
strncpy(ourbuf, p, end-p);
|
||||||
|
ourbuf[end-p] = '\0';
|
||||||
while (start <= end) {
|
while (start <= end) {
|
||||||
*start++ = ' ';
|
*start++ = ' ';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue