summaryrefslogtreecommitdiffstats
path: root/EmulatorPkg
diff options
context:
space:
mode:
authorBret Barkelew <Bret.Barkelew@microsoft.com>2019-06-12 14:04:57 +0800
committerJaben Carsey <jaben.carsey@intel.com>2019-07-01 09:47:16 -0700
commit21902410ad87aadd3a68ec7ecb4ee11594d9fcb0 (patch)
tree09e3e39e814fed10358f0e38d25335acc29d851a /EmulatorPkg
parent6a1f06fadb26c342205cf9edeba7e67e92e2135b (diff)
downloadedk2-21902410ad87aadd3a68ec7ecb4ee11594d9fcb0.tar.gz
edk2-21902410ad87aadd3a68ec7ecb4ee11594d9fcb0.tar.bz2
edk2-21902410ad87aadd3a68ec7ecb4ee11594d9fcb0.zip
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.carsey@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Michael Turner <Michael.Turner@microsoft.com> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com> Signed-off-by: Zhichao Gao <zhichao.gao@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'EmulatorPkg')
0 files changed, 0 insertions, 0 deletions