[
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 some of the intersectPrefixPaths.
TestGraphDups still fails. In general I think we should try to nuke these
"StringBuffer" methods like copyXXXX and appendXXXX: they are dangerous.
Either you allocate all the time and are safe, or you dont and nuke data that
isnt yours. For IntsRef we could start nuking this relatively easily, as its
only used in 4 places...
> 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, 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]