From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org, Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: Re: [PATCH master] ddr: fsl: fix possible use of uninitalized variable
Date: Tue, 20 Feb 2024 08:17:05 +0100 [thread overview]
Message-ID: <170841342587.390507.7487402194067769996.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20240219133059.3771473-1-a.fatoum@pengutronix.de>
On Mon, 19 Feb 2024 14:30:59 +0100, Ahmad Fatoum wrote:
> step_assign_addresses_interleaved() contains a loop that either sets
> total_mem to a fixed value or keeps incrementing it.
>
> If we exclusively run into the "keep incrementing it"-case, we would
> start with an uninitialized total_mem. Fix this by initializing it to 0.
>
>
> [...]
Applied, thanks!
[1/1] ddr: fsl: fix possible use of uninitalized variable
https://git.pengutronix.de/cgit/barebox/commit/?id=1d8515a0d3f7 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
prev parent reply other threads:[~2024-02-20 7:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-19 13:30 Ahmad Fatoum
2024-02-20 7:17 ` Sascha Hauer [this message]
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=170841342587.390507.7487402194067769996.b4-ty@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.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