[ 
https://issues.apache.org/jira/browse/CASSANDRA-18505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17720711#comment-17720711
 ] 

Jon Meredith commented on CASSANDRA-18505:
------------------------------------------

CI Results (pending):
||Branch||Source||Circle CI||Jenkins||
|cassandra-4.0|[branch|https://github.com/jonmeredith/cassandra/tree/commit_remote_branch/CASSANDRA-18505-cassandra-4.0-4241543C-EA7D-4586-BA9E-34181A5B966A]|[build|https://app.circleci.com/pipelines/github/jonmeredith/cassandra?branch=commit_remote_branch%2FCASSANDRA-18505-cassandra-4.0-4241543C-EA7D-4586-BA9E-34181A5B966A]|[build|https://ci-cassandra.apache.org/job/Cassandra-devbranch/2453]|
|cassandra-4.1|[branch|https://github.com/jonmeredith/cassandra/tree/commit_remote_branch/CASSANDRA-18505-cassandra-4.1-4241543C-EA7D-4586-BA9E-34181A5B966A]|[build|https://app.circleci.com/pipelines/github/jonmeredith/cassandra?branch=commit_remote_branch%2FCASSANDRA-18505-cassandra-4.1-4241543C-EA7D-4586-BA9E-34181A5B966A]|[build|https://ci-cassandra.apache.org/job/Cassandra-devbranch/2454/]|
|trunk|[branch|https://github.com/jonmeredith/cassandra/tree/commit_remote_branch/CASSANDRA-18505-trunk-4241543C-EA7D-4586-BA9E-34181A5B966A]|[build|https://app.circleci.com/pipelines/github/jonmeredith/cassandra?branch=commit_remote_branch%2FCASSANDRA-18505-trunk-4241543C-EA7D-4586-BA9E-34181A5B966A]|[build|https://ci-cassandra.apache.org/job/Cassandra-devbranch/2455/]|

> NPE when deserializing malformed collections from client
> --------------------------------------------------------
>
>                 Key: CASSANDRA-18505
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18505
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Messaging/Client
>            Reporter: Jon Meredith
>            Assignee: Jon Meredith
>            Priority: Normal
>             Fix For: 4.0.x, 4.1.x, 5.0
>
>
> When deserializing collections sent from the client, if an element in the 
> collection is incorrectly serialized, Collections.getValue can return null if 
> the length of the element is negative.  Currently this isn't detected and 
> serialization continues, calling validate and throwing an NPE in serializers 
> that don't handle null value buffers.
> Detect the malformed input and throw a better MarshalException so it will be 
> converted to an InvalidRequestException for the client.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to