[ 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.