From 6eb6df3a207ee501d439436009a340bb250cbf23 Mon Sep 17 00:00:00 2001 From: Greg Beaver Date: Mon, 4 May 2009 04:29:25 +0000 Subject: [PATCH] disable cause of mysterious segfault in PHP 5.3 only (5.2 is fine) --- ext/phar/phar_object.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c index 3cc681752b..f163f99b7b 100755 --- a/ext/phar/phar_object.c +++ b/ext/phar/phar_object.c @@ -310,9 +310,11 @@ static int phar_file_action(phar_archive_data *phar, phar_entry_info *info, char efree(new_op_array); +#if PHP_VERSION_ID < 50300 if (EG(return_value_ptr_ptr) && *EG(return_value_ptr_ptr)) { zval_ptr_dtor(EG(return_value_ptr_ptr)); } +#endif } zend_catch { if (PHAR_G(cwd)) { efree(PHAR_G(cwd)); -- 2.50.1