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

DirectoryTaxonomyWriter.replaceTaxonomy did not fully reset its state

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.5.1, 4.6, 6.0
    • Component/s: modules/facet
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      If you call DirTaxoWriter.replaceTaxonomy with a larger taxonomy than the current one, you may hit an AIOOBE on the next add category (or getParent) call. I'll attach a testcase + fix shortly.

        Attachments

          Activity

            People

            • Assignee:
              shaie Shai Erera
              Reporter:
              shaie Shai Erera
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: