diff options
author | gto2023 <gto7052@mailbox.org> | 2023-07-13 13:55:09 +0200 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2023-08-05 14:04:53 -0400 |
commit | 5d13985d6ec4ceeced9b9b45f00bc19c69efbb8f (patch) | |
tree | f17144c3e3278e5ba7fe13a93b5a307a6564b8d9 /src | |
parent | configure.ac: fix whitespace (diff) | |
download | sandbox-5d13985d6ec4ceeced9b9b45f00bc19c69efbb8f.tar.gz sandbox-5d13985d6ec4ceeced9b9b45f00bc19c69efbb8f.tar.bz2 sandbox-5d13985d6ec4ceeced9b9b45f00bc19c69efbb8f.zip |
sandbox: prevent possible use of uninitialized members of sandbox_info struct
Signed-off-by: gto2023 <gto7052@mailbox.org>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/sandbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sandbox.c b/src/sandbox.c index 802850c..e4e05c8 100644 --- a/src/sandbox.c +++ b/src/sandbox.c @@ -211,7 +211,7 @@ int main(int argc, char **argv) { int sandbox_log_presence = 0; - struct sandbox_info_t sandbox_info; + struct sandbox_info_t sandbox_info = {}; char **sandbox_environ; char **argv_bash = NULL; |