diff options
author | Andrew Goodbody <andrew.goodbody@linaro.org> | 2025-07-18 13:19:54 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-07-29 13:12:12 -0600 |
commit | ae409a84e7bffb0c5a0d420d72806ac7b854f619 (patch) | |
tree | f9b12fe5fd4adf3e806327ce652d6eeaf8f81c9b /drivers/rng/stm32_rng.c | |
parent | 808d4bc2bdcedb9ffca57b85984e53d39e1cb718 (diff) |
spl: NULL check variable before dereference
In boot_from_devices the variable loader is not NULL checked after
assignment and before first use but later code does check it for NULL.
Add a NULL check before first use.
This issue was found by Smatch.
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Diffstat (limited to 'drivers/rng/stm32_rng.c')
0 files changed, 0 insertions, 0 deletions