Thrift-1377: abort PHP deserialization on unknown field type
authorJake Farrell <jfarrell@apache.org>
Fri, 7 Oct 2011 00:17:25 +0000 (00:17 +0000)
committerJake Farrell <jfarrell@apache.org>
Fri, 7 Oct 2011 00:17:25 +0000 (00:17 +0000)
commit51700649d0adbd0bbdf407ba251170a29f04e691
tree9095b27674d2955a8537943fbbfa4d91363e963a
parentb5d94e07c481bacb0de55dfc9c16b2cf86feb25c
Thrift-1377: abort PHP deserialization on unknown field type
client: php
Patch: Dave Watson

Previously the code incorrectly ignored unknown field types. After
reading the field header, if it was an unknown type it would incorrectly
assume there was no data, and start trying to read the next field
immediately.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1179907 13f79535-47bb-0310-9956-ffa450edef68
lib/php/src/protocol/TProtocol.php