mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: BAREBOX <barebox@lists.infradead.org>,
	 Abdelrahman Youssef via B4 Relay
	<devnull+abdelrahmanyossef12.gmail.com@kernel.org>
Cc: Abdelrahman Youssef <abdelrahmanyossef12@gmail.com>
Subject: Re: [PATCH v5] common: buffer access out-of-bounds
Date: Mon, 21 Oct 2024 07:48:29 +0200	[thread overview]
Message-ID: <172948970931.3577456.16742595893305716740.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20241018-overflow-v5-1-6a438ff92ca2@gmail.com>


On Fri, 18 Oct 2024 20:13:31 +0300, Abdelrahman Youssef via B4 Relay wrote:
> in file_detect_type() to detect file of type socfpga_xload you need at least
> 68 bytes bytes, so we need to check if we have enough bufsize.
> So I moved it after checking if `bufsize >= 256`.
> 
> 

Applied, thanks!

[1/1] common: buffer access out-of-bounds
      https://git.pengutronix.de/cgit/barebox/commit/?id=dda64a15ea02 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




      reply	other threads:[~2024-10-21  5:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-18 17:13 Abdelrahman Youssef via B4 Relay
2024-10-21  5:48 ` 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=172948970931.3577456.16742595893305716740.b4-ty@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=abdelrahmanyossef12@gmail.com \
    --cc=barebox@lists.infradead.org \
    --cc=devnull+abdelrahmanyossef12.gmail.com@kernel.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