[ 
https://issues.apache.org/jira/browse/THRIFT-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13902739#comment-13902739
 ] 

Hudson commented on THRIFT-2365:
--------------------------------

SUCCESS: Integrated in Thrift #1045 (See 
[https://builds.apache.org/job/Thrift/1045/])
THRIFT-2365 C# decodes too many binary bytes from JSON (jensg: rev 
06ad7218a9aeb05538d9ec09a6fed8e16b9aa1e1)
* lib/csharp/test/JSON/Program.cs
* lib/csharp/src/Protocol/TJSONProtocol.cs


> 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
>              Labels: json
>             Fix For: 0.9.2
>
>         Attachments: 
> THRIFT-2365_Csharp_decodes_too_many_binary_bytes_from_JSON.patch
>
>
> 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)

Reply via email to