Uploaded image for project: 'Commons Codec'
  1. Commons Codec
  2. CODEC-172

Base32 decode table has spurious value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.8
    • 1.9
    • None
    • Any

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mattbishop Matt Bishop
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: