You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by "Michael Dong (JIRA)" <ji...@apache.org> on 2014/01/14 00:09:50 UTC
[jira] [Updated] (GIRAPH-724) UnsafeByteArrayOutputStream.writeUTF
should call ensureSize
[ https://issues.apache.org/jira/browse/GIRAPH-724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dong updated GIRAPH-724:
--------------------------------
Attachment: GIRAPH-724.patch
-Fix writeChar's ensureSize call
-Add ensureSize call to writeUTF
> UnsafeByteArrayOutputStream.writeUTF should call ensureSize
> -----------------------------------------------------------
>
> Key: GIRAPH-724
> URL: https://issues.apache.org/jira/browse/GIRAPH-724
> Project: Giraph
> Issue Type: Bug
> Reporter: Maja Kabiljo
> Attachments: GIRAPH-724.patch
>
>
> UnsafeByteArrayOutputStream.writeUTF can throw an exception if the String doesn't fit in current byte array because ensureSize is not called.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)