apply the previous fix to arrays, too
authorMichael Wallner <mike@php.net>
Thu, 19 May 2022 08:24:25 +0000 (10:24 +0200)
committerMichael Wallner <mike@php.net>
Thu, 19 May 2022 08:25:49 +0000 (10:25 +0200)
ion_private.h

index 27c26705c82003595bd00058c5722a7a7393abb5..64d2a33f123659c4f5b136aaf8019bf478755187 100644 (file)
@@ -2410,6 +2410,7 @@ static void php_ion_unserialize_hash(php_ion_unserializer *ser, zval *return_val
                ION_CATCH();
 
                zval zvalue;
+               ZVAL_UNDEF(&zvalue);
                php_ion_unserialize_zval(ser, &zvalue, &typ);
                ION_CATCH(zend_string_release(key));