Heinrich Schuchardt b9b17598f4 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 <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
2017-12-16 23:07:55 +01:00
..
2017-09-20 11:08:01 +02:00
2017-12-01 22:30:47 +01:00
2017-09-20 11:00:57 +02:00
2017-09-20 11:10:42 +02:00
2016-11-14 23:24:04 +01:00