You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Robert Lu (JIRA)" <ji...@apache.org> on 2017/10/04 16:03:00 UTC

[jira] [Commented] (THRIFT-4356) thrift_protocol call Transport cause Segmentation fault

    [ https://issues.apache.org/jira/browse/THRIFT-4356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16191493#comment-16191493 ] 

Robert Lu commented on THRIFT-4356:
-----------------------------------

How to reproduce:

{code}
git clone https://github.com/RobberPhex/thrift_example.git
cd thrift_example
git checkout example
composer install
# at terminal 1
nc -l 9090 < /dev/null
# at terminal 2
php client.php # with thrift_protocol extension
# caused Segmentation fault: 11
{code}




> thrift_protocol call Transport cause Segmentation fault
> -------------------------------------------------------
>
>                 Key: THRIFT-4356
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4356
>             Project: Thrift
>          Issue Type: Bug
>          Components: PHP - Library
>    Affects Versions: 0.9.3, 0.10.0
>            Reporter: Robert Lu
>            Assignee: Robert Lu
>            Priority: Critical
>
> When thrift_protocol extension try to read or write some bytes, if there is some exception, will cause Segmentation fault



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)