Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 87857 invoked from network); 2 Feb 2011 17:07:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Feb 2011 17:07:51 -0000 Received: (qmail 35529 invoked by uid 500); 2 Feb 2011 17:07:51 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 35466 invoked by uid 500); 2 Feb 2011 17:07:50 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 35413 invoked by uid 99); 2 Feb 2011 17:07:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:07:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:07:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E8474189A69 for ; Wed, 2 Feb 2011 17:07:28 +0000 (UTC) Date: Wed, 2 Feb 2011 17:07:28 +0000 (UTC) From: "Jim Gomes (JIRA)" To: dev@activemq.apache.org Message-ID: <156048336.5481.1296666448932.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (AMQNET-59) Unmarshalling Bytes Message does not read NULL terminating byte 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/AMQNET-59?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jim Gomes updated AMQNET-59: ---------------------------- Parent: (was: AMQNET-68) > Unmarshalling Bytes Message does not read NULL terminating byte > --------------------------------------------------------------- > > Key: AMQNET-59 > URL: https://issues.apache.org/jira/browse/AMQNET-59 > Project: ActiveMQ .Net > Issue Type: Bug > Components: ActiveMQ > Environment: Windows XP SP2 > .NET 2.0 > STOMPConnect 1.0 > TIBCO EMS 4.2.0 > Reporter: Jim Gomes > Assignee: james strachan > Priority: Critical > Attachments: StompWireFormat.cs.patch.txt > > Original Estimate: 1h > Remaining Estimate: 1h > > The [STOMP protocol specification|http://docs.codehaus.org/display/STOMP/Protocol] states that a bytes message frame should still be NULL terminated even when the content-length header is specified. The StompWireFormat.Unmarshal() function does not read this final terminating NULL byte when unmarshaling a bytes message. This messes up the parsing of the next message to be sent to the consumer, and it will be discarded as an unknown format message. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira