diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2014-10-27 11:01:43 +0100 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2014-10-27 11:01:43 +0100 |
commit | 9139d031d8877f061f7cefafefa41260017e9563 (patch) | |
tree | fdb016540f0dd435ee7d11c813f215e22f5eb0e9 | |
parent | 5e8359d360c668b5ca4f5b5dbb62e65b6e033f2c (diff) | |
download | php-git-9139d031d8877f061f7cefafefa41260017e9563.tar.gz |
Fix segfault when cleaning without execution context
-rw-r--r-- | phpdbg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1466,7 +1466,7 @@ phpdbg_main: if (exec) { /* set execution context */ PHPDBG_G(exec) = phpdbg_resolve_path(exec TSRMLS_CC); - PHPDBG_G(exec_len) = strlen(PHPDBG_G(exec)); + PHPDBG_G(exec_len) = strlen(exec); free(exec); exec = NULL; |