u-boot-brain/lib/efi_loader
Heinrich Schuchardt fa995d0d94 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: 8e835554b3 ("efi_loader: check parameters of GetMemoryMap")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
2018-08-20 14:41:09 +02:00
..
.gitignore lib: gitignore *.elf and *.so generated by efi_loader 2017-01-09 10:30:24 -05:00
efi_acpi.c efi_loader: Install ACPI configuration tables 2018-07-02 09:23:28 +08:00
efi_bootmgr.c efi_loader: adjust definitions of variable services 2018-06-03 15:27:20 +02:00
efi_boottime.c efi_loader: fix a parameter check at CreateEvent() 2018-08-20 14:39:35 +02:00
efi_console.c efi_loader: clear screen has to reset cursor position 2018-07-25 14:59:44 +02:00
efi_device_path_to_text.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_device_path_utilities.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_device_path.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
efi_disk.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_file.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_gop.c efi_loader: Fix GOP 32bpp exposure 2018-06-21 17:18:18 +02:00
efi_image_loader.c efi_loader: Use compiler constants for image loader 2018-07-25 14:57:43 +02:00
efi_memory.c efi_loader: avoid NULL dereference in efi_get_memory_map() 2018-08-20 14:41:09 +02:00
efi_net.c initialize net_mode.if_type 2018-07-26 14:08:20 -05:00
efi_runtime.c efi_loader: relocate pointer to tables 2018-08-20 11:39:19 +02:00
efi_smbios.c efi_loader: Allow SMBIOS tables in highmem 2018-07-25 14:57:43 +02:00
efi_variable.c efi_loader: fix off-by-one bug in efi_get_variable 2018-06-03 15:27:20 +02:00
efi_watchdog.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
helloworld.c efi_loader: helloworld: Output ACPI configuration table 2018-07-02 09:23:28 +08:00
Kconfig Revert "efi_loader: no support for ARMV7_NONSEC=y" 2018-07-25 14:57:43 +02:00
Makefile efi_loader: provide firmware revision 2018-07-25 14:59:44 +02:00