mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org, Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: Renaud Barbier <Renaud.Barbier@ametek.com>
Subject: Re: [RFT PATCH master 1/2] partitions: dos: allocate NT signature param when recreating partition
Date: Fri, 10 Jan 2025 09:34:05 +0100	[thread overview]
Message-ID: <173649804568.359555.3130327546138543289.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20250109112437.3174977-1-a.fatoum@pengutronix.de>


On Thu, 09 Jan 2025 12:24:36 +0100, Ahmad Fatoum wrote:
> We used to only allocate the device parameter when parsing a MBR from
> disk, but not when creating the partition dynamically at runtime.
> 
> This didn't cause acute problems until we started freeing the parameter
> again and triggering a NULL pointer dereference when removing dynamically
> created partitions.
> 
> [...]

Applied, thanks!

[1/2] partitions: dos: allocate NT signature param when recreating partition
      https://git.pengutronix.de/cgit/barebox/commit/?id=a7295a3df446 (link may not be stable)
[2/2] partitions: efi: allocate disk GUID param when recreating partition
      https://git.pengutronix.de/cgit/barebox/commit/?id=e11779a6a5af (link may not be stable)

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




      parent reply	other threads:[~2025-01-10  8:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-09 11:24 Ahmad Fatoum
2025-01-09 11:24 ` [RFT PATCH master 2/2] partitions: efi: allocate disk GUID " Ahmad Fatoum
2025-01-10  8:34 ` 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=173649804568.359555.3130327546138543289.b4-ty@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=Renaud.Barbier@ametek.com \
    --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