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

Erlang library missing a struct_end call in decoder

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: 0.10.0
    • Fix Version/s: None
    • Component/s: Erlang - Library
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              dhull David Hull

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment