You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Rick McGuire (JIRA)" <ji...@apache.org> on 2008/05/16 13:25:55 UTC

[jira] Assigned: (GERONIMO-4022) QuotedPrintableDecoderStream read should return -1 when no more data

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

Rick McGuire reassigned GERONIMO-4022:
--------------------------------------

    Assignee: Rick McGuire

> 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
>            Assignee: Rick McGuire
>            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.