Skip to content
Commit 405b736e authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

efi_loader: catch out of memory in file_open



If calloc() return NULL, don't dereference it.

Fixes: 2a92080d ("efi_loader: add file/filesys support")
Signed-off-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
parent cff77001
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