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