public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sandbox:master commit in: src/
Date: Sat,  5 Aug 2023 23:38:56 +0000 (UTC)	[thread overview]
Message-ID: <1691258693.5d13985d6ec4ceeced9b9b45f00bc19c69efbb8f.floppym@gentoo> (raw)

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;


             reply	other threads:[~2023-08-05 23:39 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-05 23:38 Mike Gilbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-08-08 15:30 [gentoo-commits] proj/sandbox:master commit in: src/ Mike Gilbert
2023-08-05 23:38 Mike Gilbert
2021-11-05 10:25 Mike Frysinger
2021-11-05 10:25 Mike Frysinger
2021-11-03  4:55 Mike Frysinger
2021-11-02  4:28 Mike Frysinger
2021-11-02  4:28 Mike Frysinger
2021-11-01 18:31 Mike Frysinger
2021-10-29  5:37 Mike Frysinger
2021-10-28  9:56 Mike Frysinger
2016-03-29 12:24 Mike Frysinger
2015-09-11  7:53 Mike Frysinger
2015-09-11  7:53 Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1691258693.5d13985d6ec4ceeced9b9b45f00bc19c69efbb8f.floppym@gentoo \
    --to=floppym@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox