]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/Ip4Dxe: return error on memory allocate failure instead of ASSERT.
authorFu Siyuan <siyuan.fu@intel.com>
Wed, 13 Dec 2017 02:42:42 +0000 (10:42 +0800)
committerFu Siyuan <siyuan.fu@intel.com>
Mon, 18 Dec 2017 00:53:50 +0000 (08:53 +0800)
commit72bdc5f09362872c8865774a9bf003b6b35dcbc1
treea9181f6c4977711badd37fbaa67db5e90becc76f
parenta7912d4ad8318254985a1bd3af7683644a6415fc
MdeModulePkg/Ip4Dxe: return error on memory allocate failure instead of ASSERT.

This patch updates the IP4 driver to use error status code instead of ASSERT
if failed to allocate memory buffer.

Reviewed-by: Ye Ting <ting.ye@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Nv.c