]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/UdfDxe: Use error handling for memory allocation failure
authorHao Wu <hao.a.wu@intel.com>
Fri, 28 Sep 2018 12:12:23 +0000 (20:12 +0800)
committerHao Wu <hao.a.wu@intel.com>
Thu, 18 Oct 2018 01:12:38 +0000 (09:12 +0800)
commitebb12f514287696ed916d722a03eb49e7cab2ff0
tree7e60c715790ca04bd42f4f28989cc49f66337a5d
parent3a0329bed2a2c7d1ba45bd2376a2320141ef2bec
MdeModulePkg/UdfDxe: Use error handling for memory allocation failure

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1247

For functions DuplicateFid() and DuplicateFe(), this commit will use error
handling logic instead of ASSERTs for memory allocation failure.

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/FileSystemOperations.c