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

Memory allocated for DeviceRelations in HidClassPDO_CreatePDO is one element bigger than needed.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 0.4.5
    • Component/s: USB
    • Labels:

      Description

      This patch computes correct size for DeviceRelations and allocates space from page memory for it(since IRP_MN_QUERY_DEVICE_RELATIONS request is always sent at PASSIVE_LEVEL).
      I also added an assert for collection descriptor length

        Attachments

          Activity

            People

            • Assignee:
              ThFabba Thomas Faber
              Reporter:
              reactcoder ReactCoder
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: