Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-5584

BERYLLIUM: NativeC4QueryObserver.free should disable the listener before freeing it

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Beryllium
    • 3.1.0
    • Java, Java-Android
    • Security Level: Public
    • None
    • 1

    Description

      There is a race on a mutex when a QueryListener is still enabled when it is freed. Making NativeC4QueryObserver.free disable the listener before it frees it doesn't make the race go away... but it make is more likely that the good guy will win.

      Attachments

        Issue Links

          Activity

            People

              blake.meike Blake Meike
              blake.meike Blake Meike
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty