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
Please register or sign in to comment
Use from the char [] buffer only the bytes actually filled by read(), avoiding strlen() that will hit uninitialized memory.