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

Jens Geyer updated THRIFT-2174:
-------------------------------

    Description: 
There are two fatal problems in the Go json/simplejson protocol implementation:

(1) iobuf.Reader.Buffered() is used wrongly, causing protcol reads to fail in 
some cases
(2) a typo in StringToTypeId() causes "i16" to be unrecognized

Additionally, a few superfluous JSON type identifiers exist.

  was:
There are two fatal problems in the Go json/simplejson protocol implementation:

(1) iobuf.Reader.Buffered() is used wrongly, causing protcol reads to fail in 
some cases
(2) a typo in StringToTypeId() causes "i16" to be unrecognized

    
> Deserializing JSON fails in specific cases
> ------------------------------------------
>
>                 Key: THRIFT-2174
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2174
>             Project: Thrift
>          Issue Type: Bug
>          Components: Go - Library
>    Affects Versions: 0.9.1
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>             Fix For: 1.0
>
>         Attachments: 
> THRIFT-2174_Deserializing_JSON_fails_in_specific_cases-v2.patch
>
>
> There are two fatal problems in the Go json/simplejson protocol 
> implementation:
> (1) iobuf.Reader.Buffered() is used wrongly, causing protcol reads to fail in 
> some cases
> (2) a typo in StringToTypeId() causes "i16" to be unrecognized
> Additionally, a few superfluous JSON type identifiers exist.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to