You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King, III (JIRA)" <ji...@apache.org> on 2017/12/14 13:56:23 UTC

[jira] [Closed] (THRIFT-4263) Fix use after free bug for thrown exceptions

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

James E. King, III closed THRIFT-4263.
--------------------------------------

> Fix use after free bug for thrown exceptions
> --------------------------------------------
>
>                 Key: THRIFT-4263
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4263
>             Project: Thrift
>          Issue Type: Bug
>          Components: PHP - Library
>    Affects Versions: 0.10.0, 0.11.0
>         Environment: Verified both on Debian unstable and Centos 7 under valgrind
>            Reporter: Roy Sindre Norangshol
>            Assignee: James E. King, III
>            Priority: Critical
>             Fix For: 0.11.0
>
>
> Fix use after free bug for thrown exceptions
> Exceptions thrown through PHPExceptionWrapper are prematurely freed at
> the end of the catch block, even though zend_throw_exception_object
> expects to take ownership of the value.



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