[PATCH] boot: don't use the nfs:// mount path after freeing it

Sascha Hauer s.hauer at pengutronix.de
Fri Aug 28 05:16:26 PDT 2026


On Wed, 26 Aug 2026 12:13:33 +0200, Ahmad Fatoum wrote:
> We free nfspath, while there is still a dangling reference to it in
> the `name' variable:
> 
> 	nfspath = parse_nfs_url(name);
> 	if (nfspath)
> 		name = nfspath;
> 	...
> 	free(nfspath);
> 
> [...]

Applied, thanks!

[1/1] boot: don't use the nfs:// mount path after freeing it
      https://git.pengutronix.de/cgit/barebox/commit/?id=ae383ffe08ff (link may not be stable)

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




More information about the barebox mailing list