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:
parent
d42b4777f9
commit
7fc09585c4
@ -1835,6 +1835,7 @@ init(int signo)
|
||||
free((char *)f);
|
||||
}
|
||||
Files = NULL;
|
||||
*nextp = NULL;
|
||||
|
||||
/* open the configuration file */
|
||||
if ((cf = fopen(ConfFile, "r")) == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user