You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2018/06/13 08:20:00 UTC

[jira] [Resolved] (LUCENE-8164) IndexWriter silently accepts broken payload

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

Simon Willnauer resolved LUCENE-8164.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 7.5
                   master (8.0)

I pushed this test. This is fixed now. Thanks [~dnhatn]

> IndexWriter silently accepts broken payload
> -------------------------------------------
>
>                 Key: LUCENE-8164
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8164
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>            Priority: Major
>             Fix For: master (8.0), 7.5
>
>         Attachments: LUCENE-8164.patch, LUCENE-8164_test.patch
>
>
> IndexWriter seems to be missing bounds checks for payloads completely.
> If you pass a "broken" payload (e.g. BytesRef's offset + length is out of bounds), it will silently index it as if nothing went wrong. What actually happens? Doesn't matter, we should be getting an exception.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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