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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: Wine
    • Labels:

      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

          Activity

            People

            • Assignee:
              fireball Aleksey Bragin
              Reporter:
              hater hater
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: