Another program depending on zero'ed malloc.
Submitted by: Kai Vorma <vode@snakemail.hut.fi>
This commit is contained in:
parent
01b722aa84
commit
f96ffb5acb
@ -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…
x
Reference in New Issue
Block a user