mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Revert r277841: It will be re-merged through the vendor area.
This commit is contained in:
parent
7a47d65d5d
commit
490f7995d3
1 changed files with 1 additions and 1 deletions
|
|
@ -494,7 +494,7 @@ readent:
|
|||
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 a new issue