logo       

[jira] Closed: (CODEC-80) Regression: Base64.encode(chunk=true) has bug wh: msg#00338

issues-commons-apache

Subject: [jira] Closed: (CODEC-80) Regression: Base64.encode(chunk=true) has bug when input length is multiple of 76


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

Gary Gregory closed CODEC-80.
-----------------------------

Resolution: Fixed

Patch committed with small changes. Thank you Julius.

> Regression: Base64.encode(chunk=true) has bug when input length is multiple
> of 76
> ----------------------------------------------------------------------------------
>
> Key: CODEC-80
> URL: https://issues.apache.org/jira/browse/CODEC-80
> Project: Commons Codec
> Issue Type: Bug
> Affects Versions: 1.4
> Reporter: Julius Davies
> Fix For: 1.4
>
> Attachments: codec80-the-fix.patch, codec80-to-make-junit-fail.patch
>
>
> Regression: Base64.encode(chunk=true) has bug when input length is multiple
> of 76
> The resulting array is correct except there are two extra 0 bytes appended to
> the end.

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

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise