Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.10.3, 5.0, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      I noticed this when working on LUCENE-5977.

      We only check that position doesn't overflow, not length. So a buggy analyzer can happily write a corrupt index (negative freq)

        Activity

        Hide
        Robert Muir added a comment -

        Patch with a simple check. The test is marked Nightly, it takes about 2 minutes.

        Show
        Robert Muir added a comment - Patch with a simple check. The test is marked Nightly, it takes about 2 minutes.
        Hide
        Michael McCandless added a comment -

        +1 LOL

        Show
        Michael McCandless added a comment - +1 LOL
        Hide
        Uwe Schindler added a comment -

        +1 #stopindexcorrumption

        Show
        Uwe Schindler added a comment - +1 #stopindexcorrumption
        Hide
        ASF subversion and git services added a comment -

        Commit 1629835 from Robert Muir in branch 'dev/trunk'
        [ https://svn.apache.org/r1629835 ]

        LUCENE-5980: don't let document length overflow

        Show
        ASF subversion and git services added a comment - Commit 1629835 from Robert Muir in branch 'dev/trunk' [ https://svn.apache.org/r1629835 ] LUCENE-5980 : don't let document length overflow
        Hide
        ASF subversion and git services added a comment -

        Commit 1629836 from Robert Muir in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1629836 ]

        LUCENE-5980: don't let document length overflow

        Show
        ASF subversion and git services added a comment - Commit 1629836 from Robert Muir in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1629836 ] LUCENE-5980 : don't let document length overflow
        Hide
        Robert Muir added a comment -

        reopen for backport

        Show
        Robert Muir added a comment - reopen for backport
        Hide
        ASF subversion and git services added a comment -

        Commit 1642623 from Robert Muir in branch 'dev/branches/lucene_solr_4_10'
        [ https://svn.apache.org/r1642623 ]

        LUCENE-5980: Don't let document length overflow.

        Show
        ASF subversion and git services added a comment - Commit 1642623 from Robert Muir in branch 'dev/branches/lucene_solr_4_10' [ https://svn.apache.org/r1642623 ] LUCENE-5980 : Don't let document length overflow.
        Hide
        Anshum Gupta added a comment -

        Bulk close after 5.0 release.

        Show
        Anshum Gupta added a comment - Bulk close after 5.0 release.

          People

          • Assignee:
            Robert Muir
            Reporter:
            Robert Muir
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development