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

[SETUPAPI] AddReg sections are evaluated before the actual device key creation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None

    Description

      ReactOS 0.4.15-x86-dev (Build 20230717-0.4.15-dev-6343-gbf2cec1) (Commit bf2cec186cc7655e062ec0e53ccfac860bcae70d)

      (can be reproduced with any crafted inf - reporting one real example where the inf reports the Device0 key twice - for adding a string data):

      [Clone_function]
      HKLM,"SYSTEM\CurrentControlSet\Services\3dfxvs\Device0","allowPALCRT",,,1
      

      Steps to reproduce:

      1. Download and use 86box with a Voodoo 3 video card
      2. Install ReactOS on it
      3. Update the video driver with the SFFT 1.9 via the Device manager driver update: https://www.3dfxzone.it/monitor/am/go.asp?url=1386 - (don't reboot)
      4. Start > Run > Regedit
      5. Check the HKLM\System\CurrentControlSet\Services\3dfxvsm subkeys

      Expected result:

      A single Device0 subkey with the device data + the allowPALCRT string data

      Actual result

      A Device0 key containing the allowPALCRT string data + a Device1 key containing the device data

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              simonelombardo simonelombardo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: