Critical fixes: - Validate endpoint number is 0-15 (kernel parity: stub_rx.c) - Cap in-flight URBs at 256 to prevent DoS resource exhaustion - Replace expect() with graceful handling on lock contention in find_ep - Use validated transfer_buffer_length for ISO allocation instead of unchecked multiplication of client-supplied values High-priority fixes: - Validate devid matches imported device in CMD_SUBMIT and CMD_UNLINK - Fix string descriptor bLength u8 overflow for long strings (>126 chars) - Use saturating_add for ISO actual_length sum, capped at transfer_buffer_length - Truncate IN response data exceeding transfer_buffer_length Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| examples | ||
| src | ||
| Cargo.toml | ||