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

Erlang library throws during skipping fields of composite type (maps, lists, structs, sets)

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.11.0
    • Component/s: Erlang - Library
    • Labels:
      None

      Description

      I am creating this issue because I am unable to reopen THRIFT-1191.

      The Erlang thrift library throws an error when it attempts skip over an unknown field when decoding a message.

      The issue is that the second argument of the `thrift_protocol:skip` function must be an atom, but the calls to the `skip` function in `skip_struct_loop`, skip_map_loop`, skip_set_loop`, and `skip_list_loop` do not convert the type of the received field header from the integer form to the atom form.

        Attachments

          Activity

            People

            • Assignee:
              dhull David Hull
              Reporter:
              dhull David Hull

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment