[ 
https://issues.apache.org/jira/browse/THRIFT-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens Geyer resolved THRIFT-2365.
--------------------------------

    Resolution: Fixed

committed

> 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