Files
u-boot/drivers
Andrew Goodbody a5c83da3cc mtd: nand: Prevent dereference of NULL pointer
In nand_wait_ready there is a loop that includes a NULL check for
chip->dev_ready before it is dereferenced. Use a NULL check once the
loop is exited as well to cover the case where it exits due to a timeout
and it is therefore not known if chip->dev_ready is NULL or not.

This issue found by Smatch.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
2025-10-28 12:11:09 -06:00
..
2025-04-11 12:16:44 -06:00
2025-08-26 07:30:09 +02:00
2025-06-02 17:26:16 -06:00
2025-10-17 08:58:10 -06:00
2025-08-27 15:49:59 +08:00
2025-08-25 13:28:49 -06:00
2025-08-14 10:58:46 -06:00
2025-10-28 10:33:00 -06:00
2025-10-14 10:42:27 +03:00
2025-10-06 13:20:24 -06:00