You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2017/05/16 16:33:04 UTC

[jira] [Resolved] (LUCENE-7831) CodecUtil should not seek to negative offsets

     [ https://issues.apache.org/jira/browse/LUCENE-7831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrien Grand resolved LUCENE-7831.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 6.7
                   master (7.0)

> CodecUtil should not seek to negative offsets
> ---------------------------------------------
>
>                 Key: LUCENE-7831
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7831
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Adrien Grand
>            Priority: Minor
>             Fix For: master (7.0), 6.7
>
>         Attachments: LUCENE-7831.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org