commit | f11d09815d5bdbf57b6640e82ea6963cea25baeb | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Thu Jan 11 09:25:35 2024 +0100 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sat Jan 13 18:17:47 2024 +0100 |
tree | b603968cc2de846e26382fd9e52945abf2391526 | |
parent | c6319bdc3d002dbe2d82340de736bf69809b98df [diff] |
cmd: efidebug: check pointer after memory allocation After calling efi_alloc() we must check that the return value is not NULL. Fixes: f01c961ee34c ("cmd: efidebug: add uri device path") Addresses-Coverity-ID: 477185 Dereference null return value Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>