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/08/25 15:07:44 UTC
[jira] Resolved: (GERONIMO-4261) MimeMessage throws
IndexOutOfBoundsException on malformed data
[ https://issues.apache.org/jira/browse/GERONIMO-4261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rick McGuire resolved GERONIMO-4261.
------------------------------------
Resolution: Fixed
Committed revision 688713.
> MimeMessage throws IndexOutOfBoundsException on malformed data
> --------------------------------------------------------------
>
> Key: GERONIMO-4261
> URL: https://issues.apache.org/jira/browse/GERONIMO-4261
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: specs
> Reporter: Stefano Bagnara
> Assignee: Rick McGuire
>
> public void testGeronimoIndexOutOfBounds() throws Exception {
> String message = " \r\n"+
> "Subject: test\r\n"+
> "\r\n"+
> "Body\r\n";
> byte[] messageBytes = message.getBytes("US-ASCII");
> MimeMessage m = new MimeMessage(null, new ByteArrayInputStream(
> messageBytes));
> }
> An empty line (filled by spaces) on top of a mime stream makes geronimo throw this exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.