[
https://issues.apache.org/jira/browse/CASSANDRA-4250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Low updated CASSANDRA-4250:
-----------------------------------
Attachment: CASSANDRA-4250-v1.patch
Patch against 1.1.0
> Missing arrayOffset in FBUtilities.hash
> ---------------------------------------
>
> Key: CASSANDRA-4250
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4250
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.1.0
> Reporter: Richard Low
> Assignee: Richard Low
> Priority: Critical
> Fix For: 1.0.11
>
> Attachments: CASSANDRA-4250-v1.patch
>
>
> In CASSANDRA-3869, FBUtilities.hash was optimised to use the backing byte
> array if there is one. However, there is a missing +arrayOffset in the
> offset parameter.
> This can cause incorrect hashes resulting in data going to the wrong place,
> etc.. I haven't observed any errors directly attributable to this so maybe
> we are lucky and all backing arrays start at 0 but this could cause data loss
> in the worst case.
--
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