summaryrefslogtreecommitdiff
path: root/lib/tiny-printf.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2017-12-04 18:03:03 +0100
committerAlexander Graf <agraf@suse.de>2017-12-16 23:07:55 +0100
commitb9b17598f42c29b905a8b4a778e505244a89bd9a (patch)
treed5d71962095495dca55de0c5bcd5cfdcb4ccae54 /lib/tiny-printf.c
parent678e03a00cafc9009f05cbcc3192235f2b8f9a33 (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 <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/tiny-printf.c')
0 files changed, 0 insertions, 0 deletions