Fix bad call to strncat()
This commit is contained in:
parent
cf95138c9b
commit
48b184477e
@ -1790,7 +1790,7 @@ str_handle_lines(const char *input, char **rest, str_handle_lines_t linehandler,
|
||||
buf[0] = '\0';
|
||||
if (*rest)
|
||||
STRNCPY(buf, *rest, buflen);
|
||||
strncat(buf, input, inputlen);
|
||||
strncat(buf, input, buflen);
|
||||
p = buf;
|
||||
|
||||
while (1)
|
||||
|
Loading…
Reference in New Issue
Block a user