diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-08-06 23:28:18 +0300 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-08-20 15:41:09 +0300 |
commit | fa995d0d9471b630d2d1942000d5a4f065c5cdd5 (patch) | |
tree | 1b538aa8b3c8af56829df3031e128bd937ab1e96 /lib/crc32.c | |
parent | 3748ed908fd478b36bf698839632b2514c450513 (diff) | |
download | u-boot-fa995d0d9471b630d2d1942000d5a4f065c5cdd5.tar.xz |
efi_loader: avoid NULL dereference in efi_get_memory_map()
We should only dereference parameter memory_map_size after checking that
it is valid.
Fixes: 8e835554b36b ("efi_loader: check parameters of GetMemoryMap")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/crc32.c')
0 files changed, 0 insertions, 0 deletions