[
https://issues.apache.org/jira/browse/LUCENE-4714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir updated LUCENE-4714:
--------------------------------
Attachment: LUCENE-4714.patch
this fixes append too.
> more *Ref bugs in copyXXXX (maybe appendXXXX tooo)
> --------------------------------------------------
>
> Key: LUCENE-4714
> URL: https://issues.apache.org/jira/browse/LUCENE-4714
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Robert Muir
> Attachments: LUCENE-4714.patch, LUCENE-4714.patch
>
>
> {code}
> public void copyBytes(BytesRef other) {
> - if (bytes.length - offset < other.length) {
> + if (length < other.length) {
> {code}
> I'll work up tests for all these classes
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]