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:
bapt 2016-11-26 15:49:59 +00:00
parent d42b4777f9
commit 7fc09585c4

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) {