geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "aaron pieper (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-4022) QuotedPrintableDecoderStream read should return -1 when no more data
Date Fri, 16 May 2008 11:15:55 GMT
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


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.


Mime
View raw message