diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2016-05-03 13:36:21 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2016-05-03 13:36:41 +0200 |
commit | 0f20e113c2fd9c5e96beb2723ba8b5c8eb43b182 (patch) | |
tree | 8bc7c7563b69a72b5670c69228292e8324511f48 /sapi/phpdbg/phpdbg_list.c | |
parent | d08df4442509d67400ac4edfa997f92712614f2c (diff) | |
download | php-git-0f20e113c2fd9c5e96beb2723ba8b5c8eb43b182.tar.gz |
Fix potential double free with phpdbg
Diffstat (limited to 'sapi/phpdbg/phpdbg_list.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_list.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/phpdbg/phpdbg_list.c b/sapi/phpdbg/phpdbg_list.c index 2e97ad4b73..e31fe199f2 100644 --- a/sapi/phpdbg/phpdbg_list.c +++ b/sapi/phpdbg/phpdbg_list.c @@ -291,6 +291,7 @@ zend_op_array *phpdbg_compile_file(zend_file_handle *file, int type) { fake.opened_path = NULL; zend_file_handle_dtor(&fake); zend_file_handle_dtor(file); + file->type = -1; return ret; } |