diff options
| author | Qiu Shumin <shumin.qiu@intel.com> | 2016-02-16 04:49:05 +0300 |
|---|---|---|
| committer | Qiu Shumin <shumin.qiu@intel.com> | 2016-02-18 09:00:57 +0300 |
| commit | 9eec4d38c027e9eb95c545875a1f847f0cb3dcbf (patch) | |
| tree | 0f7150bb19a0b00f1490101127b8efb57cba5d04 /MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h | |
| parent | 3700da73846e10853ed95010d7ad2f0b9135439f (diff) | |
| download | edk2-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 'MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h')
0 files changed, 0 insertions, 0 deletions
