mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Another program depending on zero'ed malloc.
Submitted by: Kai Vorma <vode@snakemail.hut.fi>
This commit is contained in:
parent
01b722aa84
commit
f96ffb5acb
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ lines(fp, off)
|
|||
|
||||
if ((lines = malloc(off * sizeof(*lines))) == NULL)
|
||||
err(1, "%s", strerror(errno));
|
||||
|
||||
bzero(lines, off * sizeof(*lines));
|
||||
sp = NULL;
|
||||
blen = cnt = recno = wrap = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue