Hi,

I discovered that on some PC's the USB stack would produce an invalid 
descriptor upon query without an error.
I don't know why this is the case, maybe broken hardware but I seriously doubt 
it.
GRUB doesn't handle TT's at all, Clearing TT's or resetting them. Maybe thats a 
case for stuck transactions?
The descriptor would contain 0 in length, or atleast the code would think that 
offset was the length
and cause an endless loop.
Maybe this type of parsing is completely avoidable but for now I just added a 
break condition.
GRUB should not hang on faulty devices.

BR,
Christian

Attachment: usb-invalid-desc.patch
Description: usb-invalid-desc.patch

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to