]> granicus.if.org Git - php/commit
Fix #79919: Stack use-after-scope in define()
authorChristoph M. Becker <cmbecker69@gmx.de>
Fri, 31 Jul 2020 07:12:22 +0000 (09:12 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Fri, 31 Jul 2020 08:54:41 +0000 (10:54 +0200)
commit1e0bc6e30f9fb327cd06383c8290a8afab1e484d
tree0031ae5b38adff0949647b8b449350804a8bf1e8
parentd95c53834cec1570b8f3e836cd514d6ae5901e68
Fix #79919: Stack use-after-scope in define()

Instead of the temporary `rv`, we use the `val_free` which is there for
this purpose.
NEWS
Zend/tests/bug79919.phpt [new file with mode: 0644]
Zend/zend_builtin_functions.c