Fix one byte buffer overflow
Submitted by: Eric Allman <eric@sendmail.org>
This commit is contained in:
parent
76a4217503
commit
a59b44944e
@ -1884,7 +1884,7 @@ get_column(line, col, delim, buf, buflen)
|
||||
char *p;
|
||||
char *begin, *end;
|
||||
int i;
|
||||
char delimbuf[3];
|
||||
char delimbuf[4];
|
||||
|
||||
if (delim == '\0')
|
||||
strcpy(delimbuf, "\n\t ");
|
||||
|
Loading…
Reference in New Issue
Block a user