[PATCH] drivers: net: fsl_ls_mdio: prevent a NULL pointer dereference

Tom Rini trini at konsulko.com
Fri Feb 3 19:20:37 CET 2023


On Thu, Jan 05, 2023 at 05:09:48PM +0200, Ioana Ciornei wrote:

> Prevent a NULL pointer dereference in the probe path by checking the
> return valud of dev_read_addr_ptr() against NULL.
> 
> Signed-off-by: Ioana Ciornei <ioana.ciornei at nxp.com>
> Reviewed-by: Ramon Fried <rfried.dev at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230203/1d2393d9/attachment.sig>


More information about the U-Boot mailing list