[ 
https://issues.apache.org/jira/browse/LUCENE-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14161674#comment-14161674
 ] 

ASF subversion and git services commented on LUCENE-5980:
---------------------------------------------------------

Commit 1629836 from [~rcmuir] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1629836 ]

LUCENE-5980: don't let document length overflow

> 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
>             Fix For: 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to