Revert r277841: It will be re-merged through the vendor area.

This commit is contained in:
pfg 2015-01-29 15:33:05 +00:00
parent fea134ce22
commit 4d1e358c77

View File

@ -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 */