camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-8001) SmppUtils.isGsm0338Encodeable() called with arbitrary data
Date Fri, 05 Dec 2014 03:28:13 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-8001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Willem Jiang resolved CAMEL-8001.
---------------------------------
    Resolution: Fixed

Merged the patch into camel master, camel-2.14.x and camel-2.13.x branches with thanks to
Daniel.

> SmppUtils.isGsm0338Encodeable() called with arbitrary data
> ----------------------------------------------------------
>
>                 Key: CAMEL-8001
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8001
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-smpp
>    Affects Versions: 2.12.2
>         Environment: n/a
>            Reporter: Daniel Pocock
>            Assignee: Willem Jiang
>              Labels: patch
>             Fix For: 2.13.4, 2.14.1, 2.15.0
>
>         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
(v6.3.4#6332)

Mime
View raw message