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

CAutoComplete reference counting seems broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.15
    • Shell
    • None

    Description

      During CAutoComplete::OnNCDestroy, the reference count is decreased Release().
      If this is the last reference, this deletes the object, which means any further code accessing this or pThis further along in ATL cleanup code is accessing free'd memory.

      This can be observed by running the Notepad++ 6.9 setup from rapps with DPH enabled,
      or just opening an explorer window with DPH enabled, and closing it again.

      Attachments

        Activity

          People

            learn_more Mark Jansen
            learn_more Mark Jansen
            Votes:
            3 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: