u-boot/lib/efi_loader
Ivan Gorinov d73c8bc052 efi_loader: fix off-by-one bug in efi_get_variable
efi_get_variable() always stores an extra zero byte after the output data.
When the returned data size matches the output buffer size, the extra zero
byte is stored past the end of the output buffer.

Signed-off-by: Ivan Gorinov <ivan.gorinov@intel.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
2018-06-03 15:27:20 +02:00
..
.gitignore lib: gitignore *.elf and *.so generated by efi_loader 2017-01-09 10:30:24 -05:00
efi_bootmgr.c efi_loader: adjust definitions of variable services 2018-06-03 15:27:20 +02:00
efi_boottime.c efi_loader: remove unnecessary include 2018-06-03 15:27:20 +02:00
efi_console.c efi_loader: avoid using unitialized values as console size 2018-06-03 15:27:20 +02: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_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_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 SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_image_loader.c efi_loader: remove unnecessary include 2018-06-03 15:27:20 +02:00
efi_memory.c efi_loader: remove unnecessary include 2018-06-03 15:27:20 +02:00
efi_net.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_runtime.c efi_loader: adjust definitions of variable services 2018-06-03 15:27:20 +02:00
efi_smbios.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04: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 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig efi_loader: if EFI_LOADER is enabled, enable CFB_CONSOLE_ANSI 2018-06-03 15:27:20 +02:00
Makefile SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00