mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
20efea8fa4
Serial number on some USB devices might exceed the number of 100 characters (e.g. 120 characters on "SanDisk Ultra 3.2Gen1" pendrive) and cause buffer overflow, resulting in usbstor.sys crash. - Use pool allocation for instance ID generation. Fixes stack overflow on USB storage devices with large serial number. - Print the LUN number as a hexadecimal, not as a character. - Verify the serial number descriptor before using it. - Increase the max descriptor size for serial number to MAXIMUM_USB_STRING_LENGTH. This fixes serial number string truncation. Based on suggestions by disean and ThFabba. CORE-17625 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
descriptor.c | ||
disk.c | ||
error.c | ||
fdo.c | ||
guid.c | ||
misc.c | ||
pdo.c | ||
queue.c | ||
scsi.c | ||
usbstor.c | ||
usbstor.h | ||
usbstor.inf | ||
usbstor.rc |