initialize *nextp which could be left uninitialized in case the configuration

file cannot be open/read

Reported by:	Coverity via cem
MFC after:	2 days
CID:		1365665
This commit is contained in:
Baptiste Daroussin 2016-11-26 15:49:59 +00:00
parent a7b3f36393
commit dd83a7df85
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309194

View File

@ -1835,6 +1835,7 @@ init(int signo)
free((char *)f);
}
Files = NULL;
*nextp = NULL;
/* open the configuration file */
if ((cf = fopen(ConfFile, "r")) == NULL) {