Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 82BE910F3E for ; Fri, 5 Dec 2014 03:28:13 +0000 (UTC) Received: (qmail 2967 invoked by uid 500); 5 Dec 2014 03:28:13 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 2929 invoked by uid 500); 5 Dec 2014 03:28:13 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 2920 invoked by uid 99); 5 Dec 2014 03:28:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2014 03:28:13 +0000 Date: Fri, 5 Dec 2014 03:28:13 +0000 (UTC) From: "Willem Jiang (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CAMEL-8001) SmppUtils.isGsm0338Encodeable() called with arbitrary data MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)