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

James E. King, III commented on THRIFT-4263:
--------------------------------------------

Updating the distro used in the build process is a good idea.  We want coverage 
for some older environments however so we'll have to use a mixture of both.  
That deserves a separate story, however.  For this one, I was looking for 
documentation on zend_throw_exception_object and its requirements to verify 
your ownership assertions in the description however I could not find it?


> 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
>            Priority: Critical
>
> 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)

Reply via email to