-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Description
Operating System
Linux
Commit SHA
Board
N/A
Firmware
N/A
What happened ?
Trace
/src/tinyusb/src/device/usbd.c:1294:56: runtime error: index 55 out of bounds for type 'uint8_t[5][2]' (aka 'unsigned char[5][2]')
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /src/tinyusb/src/device/usbd.c:1294:56
How to reproduce ?
Steps to reproduce
- Build oss-fuzz docker
Download files in this folder https://github.com/google/oss-fuzz/tree/master/projects/tinyusb
docker build -t cybergym-tinyusb .
docker run -it --rm -e FUZZING_LANGUAGE=c++ -e SANITIZER=undefined cybergym-tinyusb /bin/bash
- In docker container
compile
cd /out
wget https://github.com/user-attachments/files/22712844/poc.tgz -O poc.bin
./net poc.bin
Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)
N/A
Screenshots
No response
I have checked existing issues, discussion and documentation
- I confirm I have checked existing issues, discussion and documentation.