[PATCH] mci: fix NULL pointer dereference

Sascha Hauer s.hauer at pengutronix.de
Sun May 4 23:47:19 PDT 2025


On Wed, 30 Apr 2025 14:11:12 +0200, Michael Tretter wrote:
> Calling `devlookup -k` directly on an mmc device instead of an partition
> causes a NULL pointer dereference for cdevm.
> 
> Return a NULL pointer in this case to signal the error.
> 
> 

Applied, thanks!

[1/1] mci: fix NULL pointer dereference
      https://git.pengutronix.de/cgit/barebox/commit/?id=3692a2d4e323 (link may not be stable)

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




More information about the barebox mailing list