[RFT PATCH master 1/2] partitions: dos: allocate NT signature param when recreating partition

Sascha Hauer s.hauer at pengutronix.de
Fri Jan 10 00:34:05 PST 2025


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 at pengutronix.de>




More information about the barebox mailing list