mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 23:32:39 +00:00
Skip unexpected descriptors
This commit is contained in:
1 parent
fafc23e90a
commit
443a6c4b21
2 files changed
+17
-2
No files matched your search
@@ -31,6 +31,12 @@ typedef enum {
|
||||
GRUB_USB_DESCRIPTOR_HUB = 0x29
|
||||
} grub_usb_descriptor_t;
|
||||
|
||||
struct grub_usb_desc
|
||||
{
|
||||
grub_uint8_t length;
|
||||
grub_uint8_t type;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
struct grub_usb_desc_device
|
||||
{
|
||||
grub_uint8_t length;
|
||||
|
||||
Reference in new issue
Block a user