audk/MdeModulePkg/Library/UefiBootManagerLib
Ruiyu Ni 7320b8ed18 MdeModulePkg/BDS: Fix a buffer overflow bug
KeyOption points to a buffer holding the content of Key####.
So its size is smaller than EFI_BOOT_MANAGER_KEY_OPTION.
Old code to assign value to KeyOption->OptionNumber modifies
the memory outside of the KeyOption buffer.

The patch fixes this bug.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Steven Shi <steven.shi@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
2017-05-22 09:43:47 +08:00
..
BmBoot.c MdeModulePkg/UefiBootManagerLib: Avoid buggy USB short-form expanding 2017-04-20 16:31:05 +08:00
BmBootDescription.c MdeModulePKg/BDS: Build meaningful description for Wi-Fi boot option 2017-04-26 09:25:54 +08:00
BmConnect.c
BmConsole.c
BmDriverHealth.c
BmHotkey.c MdeModulePkg/BDS: Fix a buffer overflow bug 2017-05-22 09:43:47 +08:00
BmLoadOption.c MdeModulePkg/UefiBootManagerLib: Enhance short-form expanding logic 2017-04-07 11:06:12 +08:00
BmMisc.c MdeModulePkg: Refine casting expression result to bigger size 2017-03-06 14:33:20 +08:00
BmPerformance.c MdeModulePkg BmPerf: Handle "/" separator in debug path for GCC build 2017-03-16 11:08:52 +08:00
InternalBm.h MdeModulePkg/UefiBootManagerLib: Enhance short-form expanding logic 2017-04-07 11:06:12 +08:00
UefiBootManagerLib.inf MdeModulePkg/UefiBootManagerLib: Generate boot description for NVME 2017-03-13 10:42:21 +08:00
UefiBootManagerLib.uni