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

RefrenceManager#accquire can result in infinite loop if manager resource is abused outside of the manager

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.6.1, 4.7, 6.0
    • 4.7, 6.0
    • core/search
    • None
    • New, Patch Available

    Description

      I think I found a bug that can cause the ReferenceManager to stick in an infinite loop if the managed reference is decremented outside of the manager without a corresponding increment. I think this is pretty bad since the debugging of this is a mess and we should rather throw ISE instead.

      Attachments

        1. LUCENE-5436.patch
          6 kB
          Simon Willnauer
        2. LUCENE-5436.patch
          5 kB
          Simon Willnauer
        3. LUCENE-5436.patch
          5 kB
          Simon Willnauer

        Activity

          People

            simonw Simon Willnauer
            simonw Simon Willnauer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: