You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Russ Garrett (JIRA)" <ji...@apache.org> on 2009/05/12 18:45:46 UTC

[jira] Updated: (THRIFT-349) Accelerated binary protocol serialization segementation fault

     [ https://issues.apache.org/jira/browse/THRIFT-349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Russ Garrett updated THRIFT-349:
--------------------------------

    Attachment: thrift_protocol_serialization_2.patch

Thrift_protocol_serialization_2.patch  is now relative to the project root.

> 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, 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.