mirror_edk2/MdeModulePkg
Wang Fan cf4a8fa455 MdeModulePkg/DxeNetLib: Add parameter check and ASSERT handling.
* Library API should check the input parameters before use, or
  ASSERT to tell it has to meet some requirements. But in DxeNetLib,
  not all functions follows this rule.
* ASSERT shouldn't be used as error handling, add some handling code
  for errors.
* Add some ASSERT commence in function notes.

Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wang Fan <fan.wang@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
2018-01-04 10:55:14 +08:00
..
Application MdeModulePkg: Fix misuses of AllocateCopyPool 2017-11-08 17:13:03 +08:00
Bus MdeModulePkg: Correct function description for AllocateBuffer 2017-12-12 09:31:54 +08:00
Core MdeModulePkg PeiCore: Update debug message to print FV handle correctly 2017-12-28 15:21:39 +08:00
Include MdeModulePkg/DxeHttpLib: Refine some coding style. 2017-12-27 16:28:56 +08:00
Library MdeModulePkg/DxeNetLib: Add parameter check and ASSERT handling. 2018-01-04 10:55:14 +08:00
Logo MdeModulePkg/LogoDxe: Return error if HII Package not present 2017-05-22 16:30:11 -07:00
Universal MdeModulePkg: Add error handling when IP address is Class E 2018-01-03 13:53:13 +08:00
MdeModulePkg.dec MdeModulePkg: Enable Firmware to retrieve the default setting 2017-12-25 11:05:55 +08:00
MdeModulePkg.dsc MdeModulePkg: Add UdfDxe to the dsc file 2017-09-13 18:24:40 +08:00
MdeModulePkg.uni MdeModulePkg: Enable Firmware to retrieve the default setting 2017-12-25 11:05:55 +08:00
MdeModulePkgExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00