Commit 379edc9
Fix use-after-free
The ast contained in ast_copy_ref is already destroyed by
zend_const_expr_to_zval(). Avoid the double free by just freeing the ast
ref itself.1 parent f28cace commit 379edc9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7463 | 7463 | | |
7464 | 7464 | | |
7465 | 7465 | | |
7466 | | - | |
| 7466 | + | |
7467 | 7467 | | |
7468 | 7468 | | |
7469 | 7469 | | |
| |||
0 commit comments