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 2013/09/08 00:00:51 UTC

[jira] [Created] (THRIFT-2174) Deserializing JSON fails in specific cases

Jens Geyer created THRIFT-2174:
----------------------------------

             Summary: 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


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

--
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