[
https://issues.apache.org/jira/browse/THRIFT-349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bryan Duxbury resolved THRIFT-349.
----------------------------------
Resolution: Fixed
Fix Version/s: 0.2
Assignee: Russ Garrett
I just committed this patch. Thanks Russ!
> 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
> Assignee: Russ Garrett
> Fix For: 0.2
>
> Attachments: thrift_protocol_serialization.patch,
> thrift_protocol_serialization_2.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.