Replace insecure tmpfile() with mkstemp() based local tempfile()

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2015-06-21 21:54:24 +02:00
1 parent c6a9fa3b98
commit 162b394726
3 files changed
+24 -1

No files matched your search

+2
View File
@@ -69,6 +69,8 @@ int makepath (char *path);
void ifconfig (char *ifname, char *addr, char *mask, int up);
int atonum (char *str);
FILE *tempfile (void);
void runlevel_set (int pre, int now);
int runlevel_get (void);
char *runlevel_string (int levels);