You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2014/12/01 03:48:13 UTC

[jira] [Resolved] (LUCENE-5980) IW positions check not quite right

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

Robert Muir resolved LUCENE-5980.
---------------------------------
    Resolution: Fixed

> IW positions check not quite right
> ----------------------------------
>
>                 Key: LUCENE-5980
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5980
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>             Fix For: 4.10.3, 5.0, Trunk
>
>         Attachments: LUCENE-5980.patch
>
>
> I noticed this when working on LUCENE-5977. 
> We only check that position doesn't overflow, not length. So a buggy analyzer can happily write a corrupt index (negative freq) 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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