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 09:44:04 UTC
[jira] [Updated] (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 updated LUCENE-7831:
---------------------------------
Attachment: LUCENE-7831.patch
Here is a patch.
> 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
> 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