audk/MdeModulePkg/Library/BootMaintenanceManagerUiLib
Bi, Dandan a91f1a0e88 MdeModulePkg/BootMaintUi: Add error handling codes when AllocatePool fail
The AllocateCopyPool in function ExtractFileNameFromDevicePath
may return NULL, so need to do error handling. This patch is to
add error handling codes for function ExtractFileNameFromDevicePath
and its caller functions.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Hao Wu <hao.a.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
2016-07-06 16:23:02 +08:00
..
BmLib.c MdeModulePkg:Rename BootMaintenanceManagerLib to BootMaintenanceManagerUiLib 2016-01-19 03:28:46 +00:00
BootMaintenance.c MdeModulePkg/BootMaintUi: Add error handling codes when AllocatePool fail 2016-07-06 16:23:02 +08:00
BootMaintenanceManager.h BootMaintenanceManagerUiLib: Remove invalid keyword "bds" 2016-05-19 12:33:33 +08:00
BootMaintenanceManager.vfr BootMaintenanceManagerUiLib: change code for customization. 2016-05-13 11:18:07 +08:00
BootMaintenanceManagerCustomizedUi.c BootMaintenanceManagerUiLib: change code for customization. 2016-05-13 11:18:07 +08:00
BootMaintenanceManagerCustomizedUi.h BootMaintenanceManagerUiLib: change code for customization. 2016-05-13 11:18:07 +08:00
BootMaintenanceManagerCustomizedUiSupport.c MdeModulePkg: Make function comments and function match in UI codes 2016-05-25 16:35:36 +08:00
BootMaintenanceManagerCustomizedUiSupport.h MdeModulePkg: Make function comments and function match in UI codes 2016-05-25 16:35:36 +08:00
BootMaintenanceManagerStrings.uni BootMaintenanceManagerUiLib: change code for customization. 2016-05-13 11:18:07 +08:00
BootMaintenanceManagerUiLib.inf BootMaintenanceMangerUiLib: Save mode info for later use. 2016-05-19 12:33:33 +08:00
BootMaintenanceManagerUiLib.uni MdeModulePkg:Rename BootMaintenanceManagerLib to BootMaintenanceManagerUiLib 2016-01-19 03:28:46 +00:00
BootOption.c MdeModulePkg/BootMaintUi: Add error handling codes when AllocatePool fail 2016-07-06 16:23:02 +08:00
ConsoleOption.c MdeModulePkg:Rename BootMaintenanceManagerLib to BootMaintenanceManagerUiLib 2016-01-19 03:28:46 +00:00
Data.c MdeModulePkg:Rename BootMaintenanceManagerLib to BootMaintenanceManagerUiLib 2016-01-19 03:28:46 +00:00
FormGuid.h BootMaintenanceManagerUiLib: change code for customization. 2016-05-13 11:18:07 +08:00
UpdatePage.c MdeModulePkg/BootMaintUi: Add error handling codes when AllocatePool fail 2016-07-06 16:23:02 +08:00
Variable.c MdeModulePkg: Refine the UI code 2016-03-16 10:41:25 +08:00