Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 21902410ad87aadd3a68ec7ecb4ee11594d9fcb0
      
https://github.com/tianocore/edk2/commit/21902410ad87aadd3a68ec7ecb4ee11594d9fcb0
  Author: Bret Barkelew <bret.barke...@microsoft.com>
  Date:   2019-07-01 (Mon, 01 Jul 2019)

  Changed paths:
    M ShellPkg/Library/UefiShellLib/UefiShellLib.c

  Log Message:
  -----------
  ShellPkg/UefiShellLib: Set input pointer parameter to null if failure

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1906

While failed to allocate memory to save the response,
set the input/output parameter 'Response'(VOID **) to
NULL to indicate the failure not only depend on the
returned status.

Cc: Jaben Carsey <jaben.car...@intel.com>
Cc: Ray Ni <ray...@intel.com>
Cc: Liming Gao <liming....@intel.com>
Cc: Sean Brogan <sean.bro...@microsoft.com>
Cc: Michael Turner <michael.tur...@microsoft.com>
Cc: Bret Barkelew <bret.barke...@microsoft.com>
Signed-off-by: Zhichao Gao <zhichao....@intel.com>
Reviewed-by: Ray Ni <ray...@intel.com>




_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to