]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/UdfDxe: ASSERT for false positives of NULL ptr deref
authorHao Wu <hao.a.wu@intel.com>
Tue, 9 Oct 2018 03:03:27 +0000 (11:03 +0800)
committerHao Wu <hao.a.wu@intel.com>
Thu, 18 Oct 2018 01:12:41 +0000 (09:12 +0800)
commit5fb22f5920039393f74030c74c216517a131dbe0
tree26a5becae0d5fe2501ce01fb1fcecc13c82dc150
parentebb12f514287696ed916d722a03eb49e7cab2ff0
MdeModulePkg/UdfDxe: ASSERT for false positives of NULL ptr deref

This commit adds ASSERTs to address false positive reports of NULL
pointer dereference issues raised from static analysis with regard to
function ReadDirectoryEntry().

Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Paulo Alcantara <palcantara@suse.de>
Reviewed-by: Star Zeng <star.zeng@intel.com>
MdeModulePkg/Universal/Disk/UdfDxe/File.c
MdeModulePkg/Universal/Disk/UdfDxe/FileSystemOperations.c