camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11392) String to ByteBuffer conversion causes overflow due to multibyte chars
Date Fri, 09 Jun 2017 17:14:18 GMT

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

ASF GitHub Bot commented on CAMEL-11392:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/camel/pull/1748


> String to ByteBuffer conversion causes overflow due to multibyte chars
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-11392
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11392
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-undertow
>    Affects Versions: 2.18.4
>            Reporter: Bhun Kho
>             Fix For: 2.18.5, 2.19.1, 2.20.0
>
>
> The NIOConverter uses String.length() to allocate a ByteBuffer which may not match the
actual encoded byte length if the String contains multibyte chars.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message