diff options
author | Roy Sindre Norangshol <norangshol@zedge.net> | 2017-07-26 20:49:38 +0200 |
---|---|---|
committer | James E. King, III <jking@apache.org> | 2017-08-12 20:11:26 -0700 |
commit | ec64f23d236d7874e3b28ae86c833f57c7aa3389 (patch) | |
tree | 63ebc65e00e3d4c61147096585421f943528d7dc /.gitignore | |
parent | 20116c6c0c5e3db2b65bdfd974b64c3d741adb8b (diff) | |
download | thrift-ec64f23d236d7874e3b28ae86c833f57c7aa3389.tar.gz |
THRIFT-4263: Fix use after free bug for thrown exceptions
Client: php
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.
Ensure we free return_value in case of exceptions
Patch: HÃ¥kon Hitland <hakon.hitland@zedge.net>
Patch: Roy Sindre Norangshol <norangshol@zedge.net>
This closes #1314
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions