[edk2-devel] [PATCH v2] NetworkPkg:UEFIPXEBC

2021-06-24 Thread INDIA\sivaramann
Issue on the PxeBcDhcp4CallBack() functions of UEFIPXEBC Driver. In this function any non allowed events are recieved as input it will exit in beginning itself. But the switch case handling the default and Dhcp4SendRequest which is not reachable. Signed-off-by: Sivaraman --- NetworkPkg/UefiPxeBc

[edk2-devel] [PATCH] NetworkPkg: Addressed static code analyzer issues

2021-06-20 Thread INDIA\sivaramann
Issue on the PxeBcDhcp4CallBack() functions of UEFIPXEBC Driver. In this function allowed events are Dhcp4RcvdOffer, Dhcp4SelectOffer, Dhcp4SendDiscover, Dhcp4RcvdAck. If any other event comes as input it will exit in beginning itself. Later below switch case handling the default case which is not