Date: Thu, 29 Jan 2015 15:33:06 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r277878 - head/contrib/amd/hlfsd Message-ID: <201501291533.t0TFX6Gp081562@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pfg Date: Thu Jan 29 15:33:05 2015 New Revision: 277878 URL: https://svnweb.freebsd.org/changeset/base/277878 Log: Revert r277841: It will be re-merged through the vendor area. Modified: head/contrib/amd/hlfsd/homedir.c Modified: head/contrib/amd/hlfsd/homedir.c ============================================================================== --- head/contrib/amd/hlfsd/homedir.c Thu Jan 29 15:30:04 2015 (r277877) +++ head/contrib/amd/hlfsd/homedir.c Thu Jan 29 15:33:05 2015 (r277878) @@ -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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501291533.t0TFX6Gp081562>