camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CAMEL-8001) SmppUtils.isGsm0338Encodeable() called with arbitrary data
Date Mon, 24 Nov 2014 18:14:13 GMT


ASF GitHub Bot commented on CAMEL-8001:

GitHub user dpocock opened a pull request:

    Dpocock bug 8001


You can merge this pull request into a Git repository by running:

    $ git pull dpocock-bug-8001

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #339
commit c72c327cad45e79416ef5f524eba0bb4c95f07f2
Author: Daniel Pocock <>
Date:   2014-11-24T18:11:31Z

    CAMEL-8001: Add javadoc comments about the expectation that the argument is ISO-8859-1

commit 1945bde0e522b50da626bf9d1650bedee074f1d9
Author: Daniel Pocock <>
Date:   2014-11-24T18:12:34Z

    CAMEL-8001: only try to use SmppUtils.isGsm0338Encodeable for content that can already
be ISO-8859-1 encoded


> SmppUtils.isGsm0338Encodeable() called with arbitrary data
> ----------------------------------------------------------
>                 Key: CAMEL-8001
>                 URL:
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-smpp
>    Affects Versions: 2.12.2
>         Environment: n/a
>            Reporter: Daniel Pocock
>              Labels: patch
>         Attachments: determineAlphabet_fix.patch
> The method SmppUtils.isGsm0338Encodeable(byte[]) expects the input data to be Latin1
encoded (or a subset of Latin1, such as ASCII)
> The method SmppSmCommand.determineAlphabet(Message) prepares an argument by calling String.getBytes(charset)
without checking the charset is Latin1 or compatible.

This message was sent by Atlassian JIRA

View raw message