diff options
| author | Heinrich Schuchardt <[email protected]> | 2017-12-04 18:03:03 +0100 |
|---|---|---|
| committer | Alexander Graf <[email protected]> | 2017-12-16 23:07:55 +0100 |
| commit | b9b17598f42c29b905a8b4a778e505244a89bd9a (patch) | |
| tree | d5d71962095495dca55de0c5bcd5cfdcb4ccae54 /tools/microcode-tool.py | |
| parent | 678e03a00cafc9009f05cbcc3192235f2b8f9a33 (diff) | |
efi_loader: error handling in efi_load_image()
If a failure occurs when trying to load an image, it is insufficient
to free() the EFI object. We must remove it from the object list,
too. Otherwise a use after free will occur the next time we
iterate over the object list.
Furthermore errors in setting up the image should be handled.
Signed-off-by: Heinrich Schuchardt <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
Diffstat (limited to 'tools/microcode-tool.py')
0 files changed, 0 insertions, 0 deletions
