cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Tunnicliffe (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-13868) Safely handle empty buffers when outputting to JSON
Date Fri, 15 Sep 2017 11:31:00 GMT


Sam Tunnicliffe updated CASSANDRA-13868:
    Resolution: Fixed
      Reviewer: Sam Tunnicliffe  (was: Blake Eggleston)
        Status: Resolved  (was: Patch Available)

Thanks [~jasobrown], I took the liberty of committing to cassandra-2.2 in {{a8e2dc52409ce0dc7476d60b3adee34c547f0b14}}
and merging to 3.0/3.11/trunk.

> Safely handle empty buffers when outputting to JSON
> ---------------------------------------------------
>                 Key: CASSANDRA-13868
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jason Brown
>            Assignee: Jason Brown
>            Priority: Minor
> As discussed in CASSANDRA-13734, when {{Selection#rowToJSON}} encounters an empty {{ByteBuffer}},
a {{BufferUnderflowException}} can be thrown. At a minimum let's be defensive and not throw
an error.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message