Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2365

C# decodes too many binary bytes from JSON

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.2
    • C# - Library
    • Patch Available

    Description

      If the length of a certain binary data block is not a multiple of 3 (e.g. 16384 bytes), the JSON decoder returns a byte[] array with the length of the next multiple of 3 (e.g. 16386 bytes), because possible base64 fill bytes contained in the input data are not handled correctly during the decoding process.

      Attachments

        Activity

          People

            jensg Jens Geyer
            jensg Jens Geyer
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: