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
a7b3f36393
commit
dd83a7df85
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309194
@ -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