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

This commit is contained in:
Pedro F. Giffuni 2015-01-29 15:33:05 +00:00
parent 7a47d65d5d
commit 490f7995d3

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