Revert r277841: It will be re-merged through the vendor area.
This commit is contained in:
parent
7a47d65d5d
commit
490f7995d3
@ -494,7 +494,7 @@ hlfsd_getpwent(void)
|
||||
buf[0] = '\0';
|
||||
fgets(buf, 256, passwd_fp);
|
||||
passwd_line++;
|
||||
if (buf[0] == '\0')
|
||||
if (!buf || buf[0] == '\0')
|
||||
goto readent;
|
||||
|
||||
/* read user name */
|
||||
|
Loading…
Reference in New Issue
Block a user