summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Common/Misc.py
diff options
context:
space:
mode:
authorFu Siyuan <siyuan.fu@intel.com>2018-01-02 08:18:17 +0300
committerFu Siyuan <siyuan.fu@intel.com>2018-01-04 04:07:40 +0300
commit9d1c98e699af96ea5e4caf2610e18bf5e97dda3b (patch)
tree73dc4d8c07f2f31a8e2bdc0956a7da7b0fd30d23 /BaseTools/Source/Python/Common/Misc.py
parent2fad330f6baf350f80d043529f6a78ffec75daaa (diff)
downloadedk2-9d1c98e699af96ea5e4caf2610e18bf5e97dda3b.tar.xz
NetworkPkg: Add assert for buffer pointer from DHCP driver.
The PxeBcDhcp4CallBack() is provided for DHCP driver to invoke packet check during DHCP process, the DHCP driver should make sure Packet and NewPacket has meaningful value. This patch adds assert for this. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Sriram Subramanian <sriram-s@hpe.com> Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/Misc.py')
0 files changed, 0 insertions, 0 deletions