You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "clebert suconic (JIRA)" <ji...@apache.org> on 2019/04/26 01:27:00 UTC

[jira] [Updated] (ARTEMIS-2059) NettyWritable should use UTF-8 exact length to encode strings

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

clebert suconic updated ARTEMIS-2059:
-------------------------------------
    Fix Version/s:     (was: 2.8.0)
                   2.9.0

> NettyWritable should use UTF-8 exact length to encode strings
> -------------------------------------------------------------
>
>                 Key: ARTEMIS-2059
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2059
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: AMQP
>            Reporter: Francesco Nigro
>            Assignee: Francesco Nigro
>            Priority: Minor
>             Fix For: 2.9.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> NettyWritable.put(String) tries to enlarge the buffer used to write a UTF-8 string until ByteBufUtil.utf8MaxBytes.
> That means that it will fail or will enlarge any ByteBuf that is perfectly sized to contain the encoded string.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)