commit | eff317cb0fcee95a9157fc64fa7bac225cf2e4f2 | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Fri Jan 26 00:47:53 2018 +0100 |
committer | Alexander Graf <agraf@suse.de> | Sun Jan 28 21:37:13 2018 +0100 |
tree | 51e298424c096ea91c980baa526d77d19c580ed9 | |
parent | 091cf4382a9bb062ff9877bde8c18b612a4033ef [diff] |
efi_loader: Call Exit() on return from payload in StartImage() When a UEFI payload just returns instead of calling the Exit() callback, we handle that in efi_do_enter() and call Exit on its behalf, so that the loaded_image->exit_status value is correct. We were missing that logic in StartImage(). Call it there too. Reported-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>