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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.6.1, 4.7, 6.0
    • Fix Version/s: 4.7, 6.0
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      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
          5 kB
          Simon Willnauer
        2. LUCENE-5436.patch
          5 kB
          Simon Willnauer
        3. LUCENE-5436.patch
          6 kB
          Simon Willnauer

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: