james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niklas Therning (JIRA)" <server-...@james.apache.org>
Subject [jira] Resolved: (MIME4J-61) ArrayIndexOutOfBoundsException in CodecUtil.encodeQuotedPrintableBinary for large inputs
Date Mon, 21 Jul 2008 09:25:31 GMT

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

Niklas Therning resolved MIME4J-61.
-----------------------------------

    Resolution: Fixed

A fix has been comitted

> 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


Mime
View raw message