commit | 2edcddf78094c7bec7715857aa63ecc11f4f5efe | [log] [tgz] |
---|---|---|
author | Vincent Stehlé <vincent.stehle@arm.com> | Tue Apr 01 13:15:00 2025 +0200 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Fri Apr 11 13:25:27 2025 +0200 |
tree | 88283a2b94d69630d11ed9815a72950de26a8bea | |
parent | 2f304327e90af9a13ce2549ca32fc64033e58179 [diff] |
efi_loader: handle malloc() errors The new_packagelist() function of the HII Protocols implementation is calling malloc() without checking its return code; fix this. Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com> Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>