commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CODEC-172) Base32 decode table has spurious value
Date Sat, 01 Jun 2013 08:39:20 GMT

    [ https://issues.apache.org/jira/browse/CODEC-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672022#comment-13672022
] 

Sebb commented on CODEC-172:
----------------------------

0x2f is '/' which is indeed 63 in Base 64 - and is not valid in Base 32.
The code was originally copied from Base64.java, so you are correct; good catch.
                
> Base32 decode table has spurious value
> --------------------------------------
>
>                 Key: CODEC-172
>                 URL: https://issues.apache.org/jira/browse/CODEC-172
>             Project: Commons Codec
>          Issue Type: Bug
>    Affects Versions: 1.8
>         Environment: Any
>            Reporter: Matt Bishop
>            Assignee: Sebb
>            Priority: Trivial
>
> The Base32.DECODE_TABLE array contains the value 63 at pos 41:
> ...
> -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 63, // 20-2f
> ...
> I think this is a mistake because this value is not found in RFC-4648? It looks like
a copy-paste error from Base64.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message