audk/ShellPkg/Library
Gao, Zhichao 12dcad5b1e ShellPkg/UefiShellLevel2CommansLib: Pointer Resonse should be checked
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2049

ShellPkg\Library\UefiShellLevel2CommandsLib\Cp.c line 104 and
ShellPkg\Library\UefiShellLevel2CommandsLib\Mv.c line 640, the
pointer variable Response may be a NULL pointer. So we should
make sure that it isn't NULL before dereference it.

If Response is NULL that indicates a EFI_OUT_OF_RESOURCES
error, directly return SHELL_ABORTED.

Cc: Jaben Carsey <jaben.carsey@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
2019-08-12 19:51:36 -07:00
..
UefiHandleParsingLib ShellPkg/UefiHandleParsingLib: Remove some unused Guids 2019-04-28 09:50:14 +08:00
UefiShellAcpiViewCommandLib ShellPkg: acpiview: SRAT: Prevent buffer overruns 2019-08-12 10:14:07 -07:00
UefiShellBcfgCommandLib ShellPkg/UefiShellBcfgCommandLib: Fix '-opt' option 2019-08-05 14:24:32 -07:00
UefiShellCEntryLib ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
UefiShellCommandLib ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
UefiShellDebug1CommandsLib ShellPkg/Debug1CommandsLib: Fix bugs in func DisplaySysEventLogData 2019-06-12 09:23:30 -07:00
UefiShellDriver1CommandsLib ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
UefiShellInstall1CommandsLib ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
UefiShellLevel1CommandsLib ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
UefiShellLevel2CommandsLib ShellPkg/UefiShellLevel2CommansLib: Pointer Resonse should be checked 2019-08-12 19:51:36 -07:00
UefiShellLevel3CommandsLib ShellPkg/Type.c: Add value check before (LoopVar - 1) 2019-07-19 08:32:11 -07:00
UefiShellLib ShellPkg/UefiShellLib: Set input pointer parameter to null if failure 2019-07-01 09:47:16 -07:00
UefiShellNetwork1CommandsLib ShellPkg: Add NetworkPkg/NetworkPkg.dec as the package dependency 2019-05-21 10:35:15 +08:00
UefiShellNetwork2CommandsLib ShellPkg: Add NetworkPkg/NetworkPkg.dec as the package dependency 2019-05-21 10:35:15 +08:00