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

Incorrect handling of CM_RESOURCE_LIST

    XMLWordPrintable

Details

    Description

      The first full resource descriptor of a CM_RESOURCE_LIST is list->List[0]
      The second full resource descriptor of a CM_RESOURCE_LIST is not list->List[1]
      It's

      (PCM_FULL_RESOURCE_DESCRIPTOR)
      &list->List[0].PartialResourceList.PartialDescriptors[
       list->List[0].PartialResourceList.Count
      ]

      We have a lot of code that does not loop resource lists correctly.

      Attachments

        1. CM_FULL_RESOURCE_DESCRIPTOR_Parse.png
          34 kB
          vgal
        2. CM_RESOURCE_LIST1.png
          38 kB
          vgal
        3. pnp-cmres.patch
          9 kB
          ThFabba

        Issue Links

          Activity

            People

              ThFabba ThFabba
              ThFabba ThFabba
              Votes:
              4 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: