audk/NetworkPkg/UefiPxeBcDxe/GoogleTest
Oliver Smith-Denny 837bb62661 NetworkPkg: PxeBcDhcp6GoogleTest: Fix Stack Smashing Unit Test
PxeBcDhcp6GoogleTest's MultipleDnsEntries test started to fail
with stack cookies added for host applications. Debugging this
showed that the test was attempting to copy two UINT16s to a
UINT8 Data[1] array allocated on the stack. This was moved to
a heap based allocation for a UINT32 to accommodate the proper
size. After this fix, the unit test passed with stack cookies
enabled.

Signed-off-by: Oliver Smith-Denny <osde@linux.microsoft.com>
2024-09-13 03:58:46 +00:00
..
PxeBcDhcp6GoogleTest.cpp NetworkPkg: PxeBcDhcp6GoogleTest: Fix Stack Smashing Unit Test 2024-09-13 03:58:46 +00:00
PxeBcDhcp6GoogleTest.h
UefiPxeBcDxeGoogleTest.cpp
UefiPxeBcDxeGoogleTest.inf NetworkPkg: Update the PxeBcDhcp6GoogleTest due to underlying changes 2024-05-24 15:48:52 +00:00