cassandra-commits mailing list archives

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

     [ https://issues.apache.org/jira/browse/CASSANDRA-13868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

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: https://issues.apache.org/jira/browse/CASSANDRA-13868
>             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
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message