lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5980) IW positions check not quite right
Date Mon, 01 Dec 2014 02:48:13 GMT

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

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

Commit 1642623 from [~rcmuir] in branch 'dev/branches/lucene_solr_4_10'
[ https://svn.apache.org/r1642623 ]

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
>            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


Mime
View raw message