Skip to content

Commit

Permalink
Fix potential double free with phpdbg
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoebi committed May 3, 2016
1 parent d08df44 commit 0f20e11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sapi/phpdbg/phpdbg_list.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0f20e11

Please sign in to comment.