commit | 3bfd10b8677b105cb2f04b6c112b5a65b06c538d | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Tue Aug 23 10:25:25 2022 +0200 |
committer | Simon Glass <sjg@chromium.org> | Fri Aug 26 16:32:59 2022 -0600 |
tree | 2a0af2e9adaec6e17bdd338f03248999f0516e48 | |
parent | 8b4baccba57f4267dbf1d33328407c9f7d0876c8 [diff] |
boot: fix vbe_find_first_device() uclass_find_first_device() may return NULL if no device for the uclass exists. Handle this case gracefully. Addresses-Coverity: CID 356244 ("Null pointer dereferences (FORWARD_NULL)") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>