diff options
author | pfg <pfg@FreeBSD.org> | 2015-01-29 15:33:05 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2015-01-29 15:33:05 +0000 |
commit | 4d1e358c7729615c1466c824014d3399ae39a0c7 (patch) | |
tree | b37b013695ac4a1f6df84d1a53c92bee8933660f /contrib/amd | |
parent | fea134ce22d1b083ca73d3a5ad123e3e507a7556 (diff) | |
download | FreeBSD-src-4d1e358c7729615c1466c824014d3399ae39a0c7.zip FreeBSD-src-4d1e358c7729615c1466c824014d3399ae39a0c7.tar.gz |
Revert r277841: It will be re-merged through the vendor area.
Diffstat (limited to 'contrib/amd')
-rw-r--r-- | contrib/amd/hlfsd/homedir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/amd/hlfsd/homedir.c b/contrib/amd/hlfsd/homedir.c index fb4720c..2ade32f 100644 --- a/contrib/amd/hlfsd/homedir.c +++ b/contrib/amd/hlfsd/homedir.c @@ -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 */ |