lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-3879) fix more position corrumptions in 4.0 codecs
Date Fri, 16 Mar 2012 14:17:41 GMT

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

Robert Muir updated LUCENE-3879:
--------------------------------

    Attachment: LUCENE-3879.patch

I ran the test many times: found one more invalid assert in MockSingleIntBlock.

This is ready to go. I'll backport the test improvement to 3.x
                
> fix more position corrumptions in 4.0 codecs
> --------------------------------------------
>
>                 Key: LUCENE-3879
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3879
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-3879.patch, LUCENE-3879.patch
>
>
> Spinoff of LUCENE-3876.
> Some codecs have invalid asserts, wrong shift operators etc.
> If a position exceeds Integer.MAX_VALUE/2 and then also has a payload,
> it will produce corrumpt indexes or other strange errors.
> Easiest way to trigger the bugs is to sometimes add a payload to the test from LUCENE-3876.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message