-
-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Description
ArduinoCore-sam/libraries/HID/src/HID.cpp
Line 88 in 790ff2c
memcpy(&p[1], data, len); |
The length argument is unchecked and will cause a stack overflow if >63.
Allthough most HID messages are less than 63 bytes long, yet it is possible for HID reports to exceed this limit and occupy multiple USB interrupt frames. Sending such reports would crash the sketch.
Metadata
Metadata
Assignees
Labels
No labels