On Mon, 26 Jan 2026 11:46:44 +0100, Ahmad Fatoum wrote:
> As bootm_set_overrides() only sets non-NULL members, it's not suitable
> to restore old settings as once a member is non-NULL, it can't change
> it.
> 
> This may lead to use-after-frees, as the original strings are free'd,
> but the override keeps pointing at it.
> Fix this by merging overrides only before the boot and resetting all
> members after.
> 
> [...]

Applied, thanks!

[1/1] bootm: fix bootm override saving/restoring
      https://git.pengutronix.de/cgit/barebox/commit/?id=e0b19f3ac155 (link may 
not be stable)

Best regards,
-- 
Sascha Hauer <[email protected]>


Reply via email to