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

C# decodes too many binary bytes from JSON

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.2
    • Component/s: C# - Library
    • Labels:
    • Patch Info:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: