audk/MdeModulePkg/Library/UefiBootManagerLib
Ruiyu Ni 00e39b0939 MdeModulePkg/UefiBootManagerLib: Initialize Handle before using it
BmExpandMediaDevicePath contains a bug that it uses the
uninitialized Handle.

Since the function is called when the Handle supports BlockIo
or SimpleFileSystem, when there is no SimpleFileSystem installed
on the Handle, BlockIo is *guaranteed* to be installed on the Handle.
The fix initializes the Handle by locating the BlockIo protocol
from the device path.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Sunny Wang <sunnywang@hpe.com>
2017-02-08 17:46:31 +08:00
..
BmBoot.c MdeModulePkg/UefiBootManagerLib: Initialize Handle before using it 2017-02-08 17:46:31 +08:00
BmBootDescription.c MdeModulePkg/UefiBootManagerLib: rebase to ARRAY_SIZE() 2016-10-27 11:10:56 +02:00
BmConnect.c
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: Use EfiEventEmptyFunction from UefiLib 2017-01-20 15:51:18 +08:00
BmLoadOption.c MdeModulePkg/UefiBootManagerLib: Refine the debug message 2016-11-18 10:42:04 +08:00
BmMisc.c MdeModulePkg/Bds: Fix a bug that may causes S4 fails to resume 2017-01-06 20:46:42 +08:00
BmPerformance.c MdeModulePkg UefiBootManagerLib: Do not assume perf entry count has no change 2015-09-30 04:29:50 +00:00
InternalBm.h MdeModulePkg/UefiBootManager: Add EfiBootManagerDispatchDeferredImages 2016-11-10 15:55:37 +08:00
UefiBootManagerLib.inf MdeModulePkg/UefiBootManager: Add EfiBootManagerDispatchDeferredImages 2016-11-10 15:55:37 +08:00
UefiBootManagerLib.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00