Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5362

IndexReader and friends should check ref count when incrementing

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.6
    • Fix Version/s: 4.7, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      IndexReader and SegmentCoreReaders blindly increments it's refcount which could already be counted down to 0 which might allow an IndexReader to "rise from the dead" and use an already closed SCR instance. Even if that is caught we should try best effort to raise ACE asap.

        Attachments

        1. LUCENE-5362.patch
          2 kB
          Simon Willnauer
        2. LUCENE-5362.patch
          2 kB
          Simon Willnauer

          Activity

            People

            • Assignee:
              simonw Simon Willnauer
              Reporter:
              simonw Simon Willnauer
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: