commit | 405b736e817bbca360b2fd3329953d3980585df2 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sun Jul 30 14:06:06 2023 +0200 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Thu Aug 03 09:21:03 2023 +0200 |
tree | 589a012803d978539f309bc026d90fe4d7aca5b3 | |
parent | cff7700170c2eb9d8059acbc2a5664ee9c8a8a9b [diff] |
efi_loader: catch out of memory in file_open If calloc() return NULL, don't dereference it. Fixes: 2a92080d8c44 ("efi_loader: add file/filesys support") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>