diff options
author | Hao Wu <hao.a.wu@intel.com> | 2017-09-26 09:14:08 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2017-09-27 19:09:25 +0800 |
commit | ce9aaba64e07d7e12eb160ae32cde7b3357ce388 (patch) | |
tree | 32a3829ef44f74ac22034789b1f57bb6fc8505aa /BaseTools/Source/Python | |
parent | 36d083ef0018b78ea12db1a5f2e8df5336541fea (diff) | |
download | edk2-ce9aaba64e07d7e12eb160ae32cde7b3357ce388.tar.gz edk2-ce9aaba64e07d7e12eb160ae32cde7b3357ce388.tar.bz2 edk2-ce9aaba64e07d7e12eb160ae32cde7b3357ce388.zip |
MdeModulePkg/UdfDxe: Resolve potential NULL pointer dereference
Within function GetAllocationDescriptorLsn():
The call to GetPdFromLongAd() may return NULL and it will be later
dereferenced in GetShortAdLsn().
This commit adds ASSERT to resolve the potential NULL pointer
dereference.
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Paulo Alcantara <pcacjr@zytor.com>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions