mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue