Skip to content
Commit 55125bbf authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

cmd: efidebug: check pointer after memory allocation



After calling efi_alloc() we must check that the return value is not NULL.

Fixes: f01c961e ("cmd: efidebug: add uri device path")
Addresses-Coverity-ID: 477185 Dereference null return value
Signed-off-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
parent b20c9c3d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment