Skip to content
Commit 63a5a2f3 authored by Pino Toscano's avatar Pino Toscano
Browse files

usb: fix invalid read

Use from the char [] buffer only the bytes actually filled by read(),
avoiding strlen() that will hit uninitialized memory.
parent f503070a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment