Accelerated binary protocol serialization segementation fault
-------------------------------------------------------------
Key: THRIFT-349
URL: https://issues.apache.org/jira/browse/THRIFT-349
Project: Thrift
Issue Type: Bug
Components: Library (PHP)
Reporter: Russ Garrett
Attachments: thrift_protocol_serialization.patch
When using the thrift_protocol PHP extension, serializing an object which
doesn't have a _TSPEC static member as a T_STRUCT results in a segfault.. This
can happen if you have cached Thrift objects which didn't get constructed in
the current session.
This happens because the null zval is interpreted as a hashtable. A patch is
attached which throws an exception in this case.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.