commit: 5d13985d6ec4ceeced9b9b45f00bc19c69efbb8f
Author: gto2023 <gto7052 <AT> mailbox <DOT> org>
AuthorDate: Thu Jul 13 11:55:09 2023 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Aug 5 18:04:53 2023 +0000
URL: https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=5d13985d
sandbox: prevent possible use of uninitialized members of sandbox_info struct
Signed-off-by: gto2023 <gto7052 <AT> mailbox.org>
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
src/sandbox.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;