mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix use of an uninitialized pointer introduced in a previous revision.
Approved by: markm (mentor)(implicit)
This commit is contained in:
parent
a761a1ca60
commit
e5b9245bfa
1 changed files with 1 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ tmpfile()
|
|||
char *buf;
|
||||
const char *tmpdir;
|
||||
|
||||
tmpdir = NULL;
|
||||
if (issetugid() == 0)
|
||||
tmpdir = getenv("TMPDIR");
|
||||
if (tmpdir == NULL)
|
||||
|
|
|
|||
Loading…
Reference in a new issue