null terminate. duh.

CVS patchset: 435
CVS date: 1996/02/27 23:40:44
This commit is contained in:
root 1996-02-27 23:40:44 +00:00
parent 6fade5096a
commit 96ed778bc7
1 changed files with 1 additions and 0 deletions

View File

@ -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++ = ' ';
} }