Fix use of an uninitialized pointer introduced in a previous revision.
Approved by: markm (mentor)(implicit)
This commit is contained in:
parent
d05abc47ec
commit
08478c5a34
@ -61,6 +61,7 @@ tmpfile()
|
||||
char *buf;
|
||||
const char *tmpdir;
|
||||
|
||||
tmpdir = NULL;
|
||||
if (issetugid() == 0)
|
||||
tmpdir = getenv("TMPDIR");
|
||||
if (tmpdir == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user