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

CodecUtil should not seek to negative offsets

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 6.6, 7.0
    • None
    • None
    • New

    Description

      In case of truncated files whose length is less than the footer length, CodecUtil might throw confusing exceptions by trying to seek to negative offsets.

      Attachments

        1. LUCENE-7831.patch
          3 kB
          Adrien Grand

        Activity

          People

            Unassigned Unassigned
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: