giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GIRAPH-724) UnsafeByteArrayOutputStream.writeUTF should call ensureSize
Date Wed, 15 Jan 2014 22:56:20 GMT

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

Hudson commented on GIRAPH-724:
-------------------------------

SUCCESS: Integrated in Giraph-trunk-Commit #1386 (See [https://builds.apache.org/job/Giraph-trunk-Commit/1386/])
GIRAPH-724: UnsafeByteArrayOutputStream.writeUTF should call ensureSize (yhdong via majakabiljo)
(majakabiljo: http://git-wip-us.apache.org/repos/asf?p=giraph.git&a=commit&h=21548aa8d8a5ed1c3414dd1743432fe207d80df4)
* CHANGELOG
* giraph-core/src/test/java/org/apache/giraph/utils/TestUnsafeByteArrayOutputStream.java
* giraph-core/src/main/java/org/apache/giraph/utils/UnsafeByteArrayOutputStream.java


> 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, GIRAPH-724.patch, GIRAPH-724.patch, GIRAPH-724.patch,
greg.jensen.testUnsafe.java
>
>
> 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)

Mime
View raw message