You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jeffrey Han (Jira)" <ji...@apache.org> on 2020/12/17 21:16:00 UTC

[jira] [Updated] (THRIFT-5325) Fix Lua library writeStructEnd() in TCompactProtocol

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

Jeffrey Han updated THRIFT-5325:
--------------------------------
    External issue URL: https://github.com/apache/thrift/pull/2297
            Patch Info: Patch Available

> Fix Lua library writeStructEnd() in TCompactProtocol
> ----------------------------------------------------
>
>                 Key: THRIFT-5325
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5325
>             Project: Thrift
>          Issue Type: Bug
>          Components: Lua - Library
>    Affects Versions: 0.13.0
>            Reporter: Jeffrey Han
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In 0.13.0, two changes were made to the Lua library's TCompactProtocol for writing structs: THRIFT-4992 (writeStructEnd) and THRIFT-5262 (writeStructBegin). Unfortunately these addressed the same issue, so the two changes together just recreated the original problem of corrupt field indices in nested structs.
> Revert the change in THRIFT-4992 (and keep the one in THRIFT-5262).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)