Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-6634

usbhub: Configuration descriptors must be partially readable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • Drivers: USB
    • Sprint 1

    Description

      When sending URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE with DescriptorType = USB_CONFIGURATION_DESCRIPTOR_TYPE, ROS asserts that
      Urb->UrbControlDescriptorRequest.TransferBufferLength >= sizeof(USB_CONFIGURATION_DESCRIPTOR)

      Windows does not do this and allows a partial read to succeed (e.g. to read the required size first).

      Attachments

        Activity

          People

            AmineKhaldi AmineKhaldi
            ThFabba ThFabba
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: