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

setupapi: unicode version of SetupGetFileCompressionInfo wrongly allocates required bytes instead of required wide chars memory.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • Wine

    Description

      SetupGetFileCompressionInfoW first checks for required length of the string to allocate, but return value is length of the string, not required bytes to successfully copy data.
      In order to fix it function should allocate required bytes (required*sizeof(sizeof(WCHAR)).

      Attachments

        Issue Links

          Activity

            People

              fireball fireball
              hater hater
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: