diff options
author | smitsohu <smitsohu@gmail.com> | 2018-08-28 16:45:55 +0200 |
---|---|---|
committer | smitsohu <smitsohu@gmail.com> | 2018-08-28 16:45:55 +0200 |
commit | 34f148031a41bd9d2db3a3bd286d8741a7ed1fe9 (patch) | |
tree | 2a16419e5a8accc430e8f10c82ff3cdb811cc552 /src/faudit/faudit.h | |
parent | Add private-bin to 0ad (diff) | |
download | firejail-34f148031a41bd9d2db3a3bd286d8741a7ed1fe9.tar.gz firejail-34f148031a41bd9d2db3a3bd286d8741a7ed1fe9.tar.zst firejail-34f148031a41bd9d2db3a3bd286d8741a7ed1fe9.zip |
fix and harden overlay options
Diffstat (limited to 'src/faudit/faudit.h')
-rw-r--r-- | src/faudit/faudit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/faudit/faudit.h b/src/faudit/faudit.h index 180121ec1..e940a9dbf 100644 --- a/src/faudit/faudit.h +++ b/src/faudit/faudit.h | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <sys/mount.h> | 31 | #include <sys/mount.h> |
32 | #include <assert.h> | 32 | #include <assert.h> |
33 | 33 | ||
34 | #define errExit(msg) do { char msgout[500]; sprintf(msgout, "Error %s:%s(%d)", msg, __FUNCTION__, __LINE__); perror(msgout); exit(1);} while (0) | 34 | #define errExit(msg) do { char msgout[500]; snprintf(msgout, 500, "Error %s:%s(%d)", msg, __FUNCTION__, __LINE__); perror(msgout); exit(1);} while (0) |
35 | 35 | ||
36 | // main.c | 36 | // main.c |
37 | extern char *prog; | 37 | extern char *prog; |