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

Using DsRoleGetPrimaryDomainInformation with DsRoleFreeMemory tries to free an invalid heap address

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Untriaged
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      If I use DsRoleGetPrimaryDomainInformation with DsRoleFreeMemory as intended, I'm getting the following message in the debug log:

      (..\sdk\lib\rtl\heap.c:2199) HEAP: Trying to free an invalid address 0013569C!

      In real-world applications (aka localspl.dll LocalGetPrinterDataEx), this later leads to a heap assertion failure.
      I've committed a small API test in r75208, which triggers this problem. The API test itself succeeds, but you should also get this error on the debug log.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bug zilla Bug Zilla
                Reporter:
                Colin Finck Colin Finck
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: