[edk2] [Patch] MdeModulePkg/Ip4Dxe: return error on memory allocate failure instead of ASSERT.

2017-12-12 Thread Fu Siyuan
This patch updates the IP4 driver to use error status code instead of ASSERT if failed to allocate memory buffer. Cc: Ye Ting Cc: Wu Jiaxin Cc: Wang Fan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Fu Siyuan --- MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Nv.c |

Re: [edk2] [Patch] MdeModulePkg/Ip4Dxe: return error on memory allocate failure instead of ASSERT.

2017-12-12 Thread Ye, Ting
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. Cc: Ye Ting Cc: Wu Jiaxin Cc: Wang Fan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Fu Siyuan