In NetworkPkg/UefiPxeBcDxe/PxeBcImpl.c, the code attempts to free 
Private->BootFileName, but that was not directly allocated using UEFI memory 
services (it points directly to a portion of a parsed packet data, so the 
overall buffer for the packet was allocated, but not "BootFileName" directly.). 
This could cause issues that may be caught with ASSERTs in debug builds...

This needs to be fixed in both IPv4 and IPv6 versions in that file

    if (Private->BootFileName != NULL) {
      FreePool (Private->BootFileName);
      Private->BootFileName = NULL;
 }


Thanks,
--Samer

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to