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

Regression: Base64.encode(chunk=true) has bug when input length is multiple of 76

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4
    • 1.4
    • None

    Description

      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.

      Attachments

        1. codec80-to-make-junit-fail.patch
          8 kB
          Julius Davies
        2. codec80-the-fix.patch
          0.8 kB
          Julius Davies

        Activity

          People

            Unassigned Unassigned
            juliusdavies Julius Davies
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: