cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Brown (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-13868) Safely handle empty buffers when outputting to JSON
Date Thu, 14 Sep 2017 18:08:00 GMT

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

Jason Brown updated CASSANDRA-13868:
------------------------------------
    Status: Patch Available  (was: Open)

> 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