audk/MdeModulePkg/Library/UefiBootManagerLib
Ruiyu Ni 5e6e2dcc38 MdeModulePkg/Bds: Check variable name even *if* OptionNumber is NULL
Current implementation skips to check whether the last four
characters are digits when the OptionNumber is NULL.
Even worse, it may incorrectly return FALSE when OptionNumber is
NULL.

The patch fixes it to always check the variable name even
OptionNumber is NULL.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2017-10-12 10:00:48 +08:00
..
BmBoot.c MdeModulePkg/UefiBootManagerLib: Avoid buggy USB short-form expanding 2017-04-20 16:31:05 +08:00
BmBootDescription.c MdeModulePkg/UefiBootManagerLib: Generate boot description for SD/eMMC 2017-09-06 09:52:17 +08:00
BmConnect.c MdeModulePkg: Fix EOL to be DOS format. 2015-05-13 02:23:44 +00:00
BmConsole.c MdeModulePkg/UefiBootManagerLib: rebase to ARRAY_SIZE() 2016-10-27 11:10:56 +02:00
BmDriverHealth.c MdeModulePkg: Use IsZeroGuid API for zero GUID checking 2016-08-31 11:14:01 +08:00
BmHotkey.c MdeModulePkg/BDS: Fix a buffer overflow bug 2017-05-22 09:43:47 +08:00
BmLoadOption.c MdeModulePkg/Bds: Check variable name even *if* OptionNumber is NULL 2017-10-12 10:00:48 +08:00
BmMisc.c MdeModulePkg/Bds: Remove assertion in BmCharToUint 2017-10-12 10:00:48 +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 SD/eMMC 2017-09-06 09:52:17 +08:00
UefiBootManagerLib.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00