You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "David Hull (JIRA)" <ji...@apache.org> on 2017/07/26 20:31:01 UTC

[jira] [Commented] (THRIFT-4265) Erlang library missing a struct_end call in decoder

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

David Hull commented on THRIFT-4265:
------------------------------------

I am closing this bug report. This was indeed an issue in Thrift 0.9.3 but it has been fixed in 0.10.0 (by commit b31f0900b57b7473a8f84c7b74f73381dcff2818).

> Erlang library missing a struct_end call in decoder
> ---------------------------------------------------
>
>                 Key: THRIFT-4265
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4265
>             Project: Thrift
>          Issue Type: Bug
>          Components: Erlang - Library
>    Affects Versions: 0.10.0
>            Reporter: David Hull
>            Priority: Minor
>
> The `thrift_protocol:read` function is missing a call to read the struct_end mark. This is only a minor problem because reading the struct_end mark is a no-op in the two protocols supported by the Erlang thrift library, binary and compact.
> The `thrift_protocol:write` and `thrift_protocol:skip` functions are OK.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)