summaryrefslogtreecommitdiff
path: root/ShellPkg/Library/UefiShellLevel3CommandsLib/Alias.c
diff options
context:
space:
mode:
authorQiu Shumin <shumin.qiu@intel.com>2016-02-16 09:49:05 +0800
committerQiu Shumin <shumin.qiu@intel.com>2016-02-18 14:00:57 +0800
commit9eec4d38c027e9eb95c545875a1f847f0cb3dcbf (patch)
tree0f7150bb19a0b00f1490101127b8efb57cba5d04 /ShellPkg/Library/UefiShellLevel3CommandsLib/Alias.c
parent3700da73846e10853ed95010d7ad2f0b9135439f (diff)
downloadedk2-platforms-9eec4d38c027e9eb95c545875a1f847f0cb3dcbf.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>
Diffstat (limited to 'ShellPkg/Library/UefiShellLevel3CommandsLib/Alias.c')
0 files changed, 0 insertions, 0 deletions