Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add extra ASSERT in PeiUsbGetAllConfiguration
Fixes oss-fuzz issue #70813. ==9957==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7e248c3009d8 at pc 0x00000059cb32 bp 0x7fff07ef3590 sp 0x7fff07ef3588 WRITE of size 8 at 0x7e248c3009d8 thread T0 SCARINESS: 57 (8-byte-write-stack-buffer-overflow) #0 0x59cb31 in PeiUsbGetAllConfiguration edk2/MdeModulePkg/Bus/Usb/UsbBusPei/UsbPeim.c:928:61 #1 0x596c4b in RunTestHarness hbfa-fl/HBFA/UefiHostFuzzTestCasePkg/TestCase/MdeModulePkg/Bus/Usb/UsbBusPei/TestPeiUsb.c:74:3 Signed-off-by: Tamas K Lengyel <[email protected]>
- Loading branch information