You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2017/05/16 10:42:04 UTC
[jira] [Commented] (LUCENE-7831) CodecUtil should not seek to
negative offsets
[ https://issues.apache.org/jira/browse/LUCENE-7831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16012123#comment-16012123 ]
Michael McCandless commented on LUCENE-7831:
--------------------------------------------
+1
> 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