commit | 9b1664622d47c1401b5ff92946ed99c14b447a69 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Mon Aug 06 22:28:18 2018 +0200 |
committer | Alexander Graf <agraf@suse.de> | Mon Aug 20 14:41:09 2018 +0200 |
tree | 1b538aa8b3c8af56829df3031e128bd937ab1e96 | |
parent | 3f3835d0e4961a37f8dfb66124b478c595d570e7 [diff] |
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>