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

[PATCH] Fixing memory leak of SePublicDefaultSd, SePublicDefaultUnrestrictedSd, SePublicOpenSd, SePublicOpenUnrestrictedSd, SeSystemDefaultSd in SepInitSDs (72645)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Trivial
    • None
    • NTCore

    Description

      Hello,

      I noticed that in SepInitSDs(...) we do not properly release the following variables under memory starvation scenarios:

      • SePublicDefaultSd
      • SePublicDefaultUnrestrictedSd
      • SePublicOpenSd
      • SePublicOpenUnrestrictedSd
      • SeSystemDefaultSd

      The probability of this is very low and the system has to be in low memory condition, but it still a bug and I decided to submit a patch for this.

      This issue is related to CORE-11967 because the original problem happens under the same conditions: system is booting and a return of FALSE anyway will halt the OS.

      Attachments

        Activity

          People

            bug zilla Bug Zilla
            vshcherbyna vshcherbyna
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: