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

CodecUtil should not seek to negative offsets

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.6, 7.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: