[ https://issues.apache.org/jira/browse/CASSANDRA-17840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh McKenzie updated CASSANDRA-17840: -------------------------------------- Fix Version/s: 3.11.14 4.0.6 4.1 4.2 (was: 4.x) (was: 3.11.x) (was: 4.0.x) (was: 4.1.x) Since Version: 3.11.0 Source Control Link: https://gitbox.apache.org/repos/asf?p=cassandra.git;a=commit;h=ab481be81da0f06a80e099ca7502b7453ff568d3 Resolution: Fixed Status: Resolved (was: Ready to Commit) > IndexOutOfBoundsException in Paging State Version Inference (V3 State > Received on V4 Connection) > ------------------------------------------------------------------------------------------------ > > Key: CASSANDRA-17840 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17840 > Project: Cassandra > Issue Type: Bug > Components: Messaging/Client > Reporter: Josh McKenzie > Assignee: Josh McKenzie > Priority: Normal > Fix For: 3.11.14, 4.0.6, 4.1, 4.2 > > > In {{PagingState.java}}, {{index}} is an integer field, and we add long > values to it without a {{Math.toIntExact}} check. While we’re checking for > negative return values returned by {{getUnsignedVInt}}, there's a chance that > the value returned by it is so large that addition operation would cause > integer overflow, or the value itself is large enough to cause overflow. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org