[
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)