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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.11.0
    • Erlang - Library
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment