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

PDF4Free - Path contentation results in mangled data

    XMLWordPrintable

Details

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

    Description

      When InstallDrv.exe of PDF4Free package tries to install the printer driver and the printer monitor devices via a PRINTER_DRIVER_INFO_3 structure, it uses kernel32's GetEnvironmentVariableA to retrieve windir variable. Then it makes some string handling magic and contenate it with the driver name.

      It fails somewhere between this step, because the resulting path populated in pConfigFile, pDataFile, pDepedentFiles, pHelpFile is all mangled. The pEnvironment (where concatenation is not necessary) and the pVersionData instead has valid data.

      Attachments

        1. pdf4free.exe
          750 kB
          simonelombardo

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: