mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11411
@ -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 New Issue
Block a user