apply the previous fix to arrays, too
[awesomized/ext-ion] / 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));