You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2008/10/06 20:47:44 UTC

[jira] Created: (GERONIMO-4339) Calling MimeMessage#setRecipients with empty array causes ArrayOutOfBoundsException

Calling MimeMessage#setRecipients with empty array causes ArrayOutOfBoundsException
-----------------------------------------------------------------------------------

                 Key: GERONIMO-4339
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4339
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: mail
         Environment: All
            Reporter: Andreas Veithen
            Priority: Minor
         Attachments: GERONIMO-4339.patch.txt

Calling MimeMessage#setRecipients with an empty array triggers an ArrayOutOfBoundsException in InternetHeaders#setHeader(String, Address[]). This is caused by an incorrectly constructed if statement in setHeader.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (GERONIMO-4339) Calling MimeMessage#setRecipients with empty array causes ArrayOutOfBoundsException

Posted by "Rick McGuire (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick McGuire resolved GERONIMO-4339.
------------------------------------

    Resolution: Fixed

Committed revision 702234.

Thank you Andreas for providing a patch!


> Calling MimeMessage#setRecipients with empty array causes ArrayOutOfBoundsException
> -----------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4339
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4339
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: mail
>         Environment: All
>            Reporter: Andreas Veithen
>            Assignee: Rick McGuire
>            Priority: Minor
>         Attachments: GERONIMO-4339.patch.txt
>
>
> Calling MimeMessage#setRecipients with an empty array triggers an ArrayOutOfBoundsException in InternetHeaders#setHeader(String, Address[]). This is caused by an incorrectly constructed if statement in setHeader.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (GERONIMO-4339) Calling MimeMessage#setRecipients with empty array causes ArrayOutOfBoundsException

Posted by "Rick McGuire (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick McGuire reassigned GERONIMO-4339:
--------------------------------------

    Assignee: Rick McGuire

> Calling MimeMessage#setRecipients with empty array causes ArrayOutOfBoundsException
> -----------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4339
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4339
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: mail
>         Environment: All
>            Reporter: Andreas Veithen
>            Assignee: Rick McGuire
>            Priority: Minor
>         Attachments: GERONIMO-4339.patch.txt
>
>
> Calling MimeMessage#setRecipients with an empty array triggers an ArrayOutOfBoundsException in InternetHeaders#setHeader(String, Address[]). This is caused by an incorrectly constructed if statement in setHeader.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4339) Calling MimeMessage#setRecipients with empty array causes ArrayOutOfBoundsException

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated GERONIMO-4339:
--------------------------------------

    Attachment: GERONIMO-4339.patch.txt

> Calling MimeMessage#setRecipients with empty array causes ArrayOutOfBoundsException
> -----------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4339
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4339
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: mail
>         Environment: All
>            Reporter: Andreas Veithen
>            Priority: Minor
>         Attachments: GERONIMO-4339.patch.txt
>
>
> Calling MimeMessage#setRecipients with an empty array triggers an ArrayOutOfBoundsException in InternetHeaders#setHeader(String, Address[]). This is caused by an incorrectly constructed if statement in setHeader.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.