audk/MdeModulePkg/Universal/Disk/UdfDxe
Hao Wu ce9aaba64e 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>
2017-09-27 19:09:25 +08:00
..
ComponentName.c
File.c MdeModulePkg/UDF: Fix creation of UDF logical partition 2017-09-25 15:36:27 +08:00
FileName.c MdeModulePkg/Udf: Refine function description comments 2017-09-19 12:43:58 +08:00
FileSystemOperations.c MdeModulePkg/UdfDxe: Resolve potential NULL pointer dereference 2017-09-27 19:09:25 +08:00
Udf.c MdeModulePkg/UDF: Fix creation of UDF logical partition 2017-09-25 15:36:27 +08:00
Udf.h MdeModulePkg/UDF: Fix creation of UDF logical partition 2017-09-25 15:36:27 +08:00
UdfDxe.inf