Union can desynchronize in some situations
------------------------------------------

                 Key: THRIFT-573
                 URL: https://issues.apache.org/jira/browse/THRIFT-573
             Project: Thrift
          Issue Type: Bug
          Components: Library (Java)
    Affects Versions: 0.2
            Reporter: Bryan Duxbury
            Assignee: Bryan Duxbury
            Priority: Minor
             Fix For: 0.2


The TUnion code doesn't deal well with two situations:
# There are no fields in the union on the wire
# There is more than one field in the union on the wire

Both of these situations are detectable. The first should probably result in an 
"unset" union; the second should result in a protocol exception.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to