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

Timothy A. Bish resolved PROTON-2837.
-------------------------------------
    Resolution: Fixed

> Incorrect buffer size allocated in UTF 8 string decoding
> --------------------------------------------------------
>
>                 Key: PROTON-2837
>                 URL: https://issues.apache.org/jira/browse/PROTON-2837
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: protonj2
>    Affects Versions: protonj2-1.0.0-M20
>            Reporter: Arnaud Cogoluègnes
>            Assignee: Timothy A. Bish
>            Priority: Minor
>             Fix For: protonj2-1.0.0-M21
>
>
> The {{ProtonDecoderState.java#internalDecodeUTF8}} method does not allocate 
> the right number of bytes for the working buffer. It should be the remainder 
> of the string to decode ({{length - offset}}), not the number of readable 
> bytes of the main buffer.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to