You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "aaron pieper (JIRA)" <ji...@apache.org> on 2008/05/16 13:15:55 UTC
[jira] Created: (GERONIMO-4022) QuotedPrintableDecoderStream read
should return -1 when no more data
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.
[jira] Updated: (GERONIMO-4022) QuotedPrintableDecoderStream read
should return -1 when no more data
Posted by "aaron pieper (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
aaron pieper updated GERONIMO-4022:
-----------------------------------
Priority: Minor (was: Major)
> 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
>
> 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.
[jira] Updated: (GERONIMO-4022) QuotedPrintableDecoderStream read
should return -1 when no more data
Posted by "aaron pieper (JIRA)" <ji...@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.
[jira] Assigned: (GERONIMO-4022) QuotedPrintableDecoderStream read
should return -1 when no more data
Posted by "Rick McGuire (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Closed: (GERONIMO-4022) QuotedPrintableDecoderStream read
should return -1 when no more data
Posted by "Rick McGuire (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rick McGuire closed GERONIMO-4022.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.2
Committed revision 657022.
Thanks aaron!
> 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
> Fix For: 2.2
>
> 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.