Re: USB string descriptor requests

2022-08-23 Thread bug
There doesn't seem to be much interest in this problem, so I'll just use this change locally to solve my issue. Though isn't it a tiny buffer overflow if a malicious or broken USB device sends a bLength of 255 and actually follows through with it? usb_string_descriptor_t is only 254 bytes. On Sun

USB string descriptor requests

2022-08-20 Thread bug
I got a StarTech SV431USBDDM KVM switch, and it specifically mangles the string descriptor responses for my keyboard (which otherwise works just fine) when probed about the vendor string after plugging in or resetting the device. After a ton of messing around, I also found out that this problem ju