From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org,
Abdelrahman Youssef <abdelrahmanyossef12@gmail.com>
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: Re: [PATCH v2] of: fdt: fix overflow caused by fdt_prop extending beyond fdt
Date: Mon, 25 Nov 2024 09:24:26 +0100 [thread overview]
Message-ID: <173252306605.167243.17574024694345262862.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20241119212606.1668337-1-abdelrahmanyossef12@gmail.com>
On Tue, 19 Nov 2024 23:26:04 +0200, Abdelrahman Youssef wrote:
> While parsing FDT, fdt_prop sometimes extends beyond FDT resulting in
> heap-overflow.
>
> dt_ptr_ok() checks a pointer is within bounds of the FDT, so we can use it
> here to fix the issue.
>
>
> [...]
Applied, thanks!
[1/1] of: fdt: fix overflow caused by fdt_prop extending beyond fdt
https://git.pengutronix.de/cgit/barebox/commit/?id=4e9331dd33be (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
prev parent reply other threads:[~2024-11-25 8:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-19 21:26 Abdelrahman Youssef
2024-11-25 8:24 ` 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=173252306605.167243.17574024694345262862.b4-ty@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=a.fatoum@pengutronix.de \
--cc=abdelrahmanyossef12@gmail.com \
--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