Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-15194

Make the base64::decode function throw for invalid input characters

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.5.10
    • 2.7.6
    • Internal Code
    • Minor Change
    • 0

    Description

      base64::decode uasserts for invalid input lengths but not for invalid input characters. Extend this with a check for invalid base64 input characters.

      Attachments

        Activity

          People

            sara.golemon@mongodb.com Sara Golemon
            andreas.nilsson Andreas Nilsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: