diff options
author | Oliver Smith-Denny <osde@linux.microsoft.com> | 2024-08-28 09:39:45 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-09-13 03:58:46 +0000 |
commit | 837bb626613eb6ae2d9c647b39dc2784a6586c2d (patch) | |
tree | ec09bdb10e16c68f94ed8a25fa551d860e557ef8 /ArmVirtPkg/Include | |
parent | 6706fe6e239253e45b28147e06f71dd68a374007 (diff) | |
download | edk2-837bb626613eb6ae2d9c647b39dc2784a6586c2d.tar.gz edk2-837bb626613eb6ae2d9c647b39dc2784a6586c2d.tar.bz2 edk2-837bb626613eb6ae2d9c647b39dc2784a6586c2d.zip |
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>
Diffstat (limited to 'ArmVirtPkg/Include')
0 files changed, 0 insertions, 0 deletions