Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11392

String to ByteBuffer conversion causes overflow due to multibyte chars

Agile BoardAttach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.18.4
    • Fix Version/s: 2.18.5, 2.19.1, 2.20.0
    • Component/s: camel-undertow
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Unknown
    • Flags:
      Patch, Important

      Description

      The NIOConverter uses String.length() to allocate a ByteBuffer which may not match the actual encoded byte length if the String contains multibyte chars.

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              bhkho Bhun Kho

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment