There is a bug in the following source file:
uefi-sct\
SctPkg\
TestCase\
UEFI\
EFI\
Protocol\
DevicePathFromText\
BlackBoxTest\
DevicePathFromTextBBTestCoverage.c
Lines 1737, 1738, 1742, and 1743 reference DNS without any cast override,
which causes the pointer reference logic to be wrong, leading the functions
SctStrToIPv4Addr and SctStrToIPv6Addr to cause memory corruption. The DNS
reference needs to have (UINT8 *) cast override, like is done in
DevicePathToTextBBTestMain.c.
Regards,
Chip
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#115906): https://edk2.groups.io/g/devel/message/115906
Mute This Topic: https://groups.io/mt/104548292/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-