You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/11/11 20:58:00 UTC

[jira] [Commented] (PROTON-2297) [j] CompositeReadableBuffer UTF8 decode can fail if encoding crosses array boundaries

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

ASF subversion and git services commented on PROTON-2297:
---------------------------------------------------------

Commit 0499ac1a0e970fb68a745027641c5f3fcbcb7852 in qpid-proton-j's branch refs/heads/master from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=qpid-proton-j.git;h=0499ac1 ]

PROTON-2297 Fix issue with composite buffer utf8 decode

Handle multi-byte encoding that cross composite array boundaries and add
some tests.


> [j] CompositeReadableBuffer UTF8 decode can fail if encoding crosses array boundaries
> -------------------------------------------------------------------------------------
>
>                 Key: PROTON-2297
>                 URL: https://issues.apache.org/jira/browse/PROTON-2297
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>    Affects Versions: proton-j-0.33.7
>            Reporter: Timothy A. Bish
>            Assignee: Timothy A. Bish
>            Priority: Major
>             Fix For: proton-j-0.33.8
>
>
> When decoding a UTF8 encoded string that contains multi-byte encodings the CompositeReadableBuffer can throw an exception if the encoding crosses array boundaries.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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