Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 1244 invoked from network); 16 May 2008 11:18:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 May 2008 11:18:18 -0000 Received: (qmail 49439 invoked by uid 500); 16 May 2008 11:18:18 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 49395 invoked by uid 500); 16 May 2008 11:18:18 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 49384 invoked by uid 99); 16 May 2008 11:18:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2008 04:18:18 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2008 11:17:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AC8E6234C10D for ; Fri, 16 May 2008 04:17:55 -0700 (PDT) Message-ID: <1539887617.1210936675692.JavaMail.jira@brutus> Date: Fri, 16 May 2008 04:17:55 -0700 (PDT) From: "aaron pieper (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-4022) QuotedPrintableDecoderStream read should return -1 when no more data In-Reply-To: <592020320.1210936555638.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-4022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] aaron pieper updated GERONIMO-4022: ----------------------------------- Attachment: patch.txt > QuotedPrintableDecoderStream read should return -1 when no more data > -------------------------------------------------------------------- > > Key: GERONIMO-4022 > URL: https://issues.apache.org/jira/browse/GERONIMO-4022 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: mail > Affects Versions: 1.x > Reporter: aaron pieper > Priority: Minor > Attachments: patch.txt > > > QuotedPrintableDecoderStream.read(byte[], int, int) returns 0 when there are no more bytes to be read. It should return -1. > One result of this errant return value is that org.apache.commons.io.IOUtils.copy(InputStream, OutputStream) will enter an endless loop if given a QuotedPrintableDecoderStream. > Note: This affects geronimo-javamail_1.4_spec-1.3.jar. I'm not sure what version of geronimo this corresponds to, so I'm recording it as 1.x which is the closest match -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.