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

Invalid free in rpcrt4 when passing zero-size array and using -Oif

    XMLWordPrintable

    Details

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

      Description

      Is ROS this is most frequently seen when calling StartService with no arguments. RStartServiceW will receive an argv pointer that points to the end of the message buffer. Because the
      if (Pointer >= pStubMsg->BufferStart && Pointer < pStubMsg->BufferEnd)
      check will fail (since Pointer == pStubMsg->BufferEnd), rpcrt4 will attempt to free this memory, which is incorrect.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ThFabba ThFabba
                Reporter:
                ThFabba ThFabba
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: