summaryrefslogtreecommitdiff
path: root/doc/README.ext4
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2017-11-17 10:47:09 +0300
committerAlexander Graf <agraf@suse.de>2017-12-01 15:26:10 +0300
commit8300be612cda2ae0a07bcc513d00e3b99b7f5f6f (patch)
treeb5693066beced44747e3a2233161619371025af8 /doc/README.ext4
parent362f00f979fb6d2972bd682e4c533120ea7c84e8 (diff)
downloadu-boot-8300be612cda2ae0a07bcc513d00e3b99b7f5f6f.tar.xz
efi_loader: Exit in efi_set_bootdev() upon invalid "desc"
When trying to load an image from a non-existent USB key, U-Boot v2017.11 crashes on my x86 platform: => load usb 0:1 03000000 abc General Protection EIP: 0010:[<7b59030d>] EFLAGS: 00010286 Original EIP :[<fff4330d>] ... This used to work in v2017.09. Testing has shown, that this bug was introduced with patch 95c5553e [efi_loader: refactor boot device and loaded_image handling]. This patch now checks if a valid "desc" is returned from blk_get_dev() and only continues when "desc" is available. Resulting in this cmd output (again): => load usb 0:1 03000000 abc ** Bad device usb 0 ** Signed-off-by: Stefan Roese <sr@denx.de> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'doc/README.ext4')
0 files changed, 0 insertions, 0 deletions