You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Niklas Therning (JIRA)" <se...@james.apache.org> on 2008/07/21 11:25:31 UTC

[jira] Assigned: (MIME4J-61) ArrayIndexOutOfBoundsException in CodecUtil.encodeQuotedPrintableBinary for large inputs

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

Niklas Therning reassigned MIME4J-61:
-------------------------------------

    Assignee: Niklas Therning

> ArrayIndexOutOfBoundsException in CodecUtil.encodeQuotedPrintableBinary for large inputs
> ----------------------------------------------------------------------------------------
>
>                 Key: MIME4J-61
>                 URL: https://issues.apache.org/jira/browse/MIME4J-61
>             Project: Mime4j
>          Issue Type: Bug
>    Affects Versions: 0.4
>            Reporter: Niklas Therning
>            Assignee: Niklas Therning
>             Fix For: 0.4
>
>
> The exception occurs in write() when outputIndex = outBuffer.length. When this is true the contents of the buffer should be flushed. But the current code tries to write one more byte to the out buffer before it is flushed. The fix is trivial. I'll commit it along with a test case shortly.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org