You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2014/02/16 01:44:19 UTC

[jira] [Created] (THRIFT-2365) C# decodes too many binary bytes from JSON

Jens Geyer created THRIFT-2365:
----------------------------------

             Summary: C# decodes too many binary bytes from JSON
                 Key: THRIFT-2365
                 URL: https://issues.apache.org/jira/browse/THRIFT-2365
             Project: Thrift
          Issue Type: Bug
          Components: C# - Library
            Reporter: Jens Geyer
            Assignee: Jens Geyer
             Fix For: 0.9.2


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|http://tools.ietf.org/html/rfc4648#section-4]  contained in the input data are not handled correctly during the decoding process. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)