[
https://issues.apache.org/jira/browse/LUCENE-8164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16510772#comment-16510772
]
ASF subversion and git services commented on LUCENE-8164:
---------------------------------------------------------
Commit 7eb74ac50f5e6e05389e834a1a2bf2543dfd64c9 in lucene-solr's branch
refs/heads/master from [~simonw]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=7eb74ac ]
LUCENE-8164: IndexWriter silently accepts broken payload.
This has been fixed via LUCENE-8165 since we are now checking
for offset+length going out of bounds.
Co-authored-by: Nhat Nguyen <[email protected]>
Co-authored-by: Robert Muir <[email protected]>
> 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: [email protected]
For additional commands, e-mail: [email protected]