[
https://issues.apache.org/jira/browse/CASSANDRA-20234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Capwell updated CASSANDRA-20234:
--------------------------------------
Fix Version/s: 4.0.16
4.1.8
5.0.3
5.1
(was: 4.0.x)
Since Version: 4.0
Source Control Link:
https://github.com/apache/cassandra/commit/3ddccf45213f69ac282690186484ae7b9c0151ba
Resolution: Fixed
Status: Resolved (was: Ready to Commit)
> CBUtil serialization of UTF8 does not handle all UTF8 properly
> --------------------------------------------------------------
>
> Key: CASSANDRA-20234
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20234
> Project: Apache Cassandra
> Issue Type: Bug
> Components: Messaging/Client
> Reporter: David Capwell
> Assignee: David Capwell
> Priority: Normal
> Fix For: 4.0.16, 4.1.8, 5.0.3, 5.1
>
> Attachments:
> ci_summary-cassandra-4.0-574caf9ddd681f583f7b43ce843fe2a343859853-1.html,
> ci_summary-cassandra-4.1-af1488c3c3b04087bb79bb663300ca0f3a345ce8-1.html,
> ci_summary-cassandra-5.0-a737880feb9faaf1be19a0f3f6e5fd43dbc56bb3-1.html,
> ci_summary-trunk-d294365054aa435ddec8cc833fe4b256280ae080-1.html,
> result_details-cassandra-4.0-574caf9ddd681f583f7b43ce843fe2a343859853.tar-1.gz,
>
> result_details-cassandra-5.0-a737880feb9faaf1be19a0f3f6e5fd43dbc56bb3.tar-1.gz,
> result_details-trunk-d294365054aa435ddec8cc833fe4b256280ae080.tar-1.gz
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> The following error was presented to the user from java driver
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 512 out of bounds
> for length 6
> at
> com.datastax.driver.core.Responses$Result$Kind.fromId(Responses.java:339)
> at
> com.datastax.driver.core.Responses$Result$1.decode(Responses.java:306)
> at
> com.datastax.driver.core.Responses$Result$1.decode(Responses.java:303)
> {code}
> The issue is that there is an off-by-1 issue with track warnings
> serialization where the estimated size and the actual size don’t match, which
> cause the client to read result kind of 512 (which isn’t valid)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]