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

Erlang library missing a struct_end call in decoder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 0.10.0
    • None
    • Erlang - Library
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dhull David Hull
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: