Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5325

Fix Lua library writeStructEnd() in TCompactProtocol

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.14.0
    • Lua - Library
    • None

    Description

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

      Attachments

        Issue Links

          Activity

            People

              jeffreyhan Jeffrey Han
              jeffreyhan Jeffrey Han
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m