diff options
author | Qiu Shumin <shumin.qiu@intel.com> | 2016-02-16 09:49:05 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-07-13 20:42:00 +0800 |
commit | 3aedb530cdafed285e3089f78e9762949aa4f186 (patch) | |
tree | c022173ee680589a997f525f7c0de00ebfbe8917 /edksetup.bat | |
parent | ce3e7784a55a55a51d01b41811a0fa774603fcb1 (diff) | |
download | edk2-platforms-3aedb530cdafed285e3089f78e9762949aa4f186.tar.xz |
ShellPkg: Do NULL pointer check before the pointer is used.
The pointer 'FileInterface->Buffer' returned from 'AllocateZeroPool' in function
'CreateFileInterfaceMem' may be NULL and will be dereferenced at the following code.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
(cherry picked from commit 9eec4d38c027e9eb95c545875a1f847f0cb3dcbf)
Diffstat (limited to 'edksetup.bat')
0 files changed, 0 insertions, 0 deletions