com php-src: Init variable to NULL before passing to zpp: sapi/phpdbg/phpdbg.c
| From: | Bob Weinand | Date: | Mon, 13 Jul 2015 23:56:05 +0000 |
| Subject: | com php-src: Init variable to NULL before passing to zpp: sapi/phpdbg/phpdbg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-87976@lists.php.net to get a copy of this message | ||
Commit: 07c425cc290ccea8cf4ae49148b8e26e9024692f
Author: Bob Weinand <bobwei9@hotmail.com> Tue, 14 Jul 2015 01:55:32 +0200
Parents: 51ce31e0c47bdb7b61f257035072772c3c7fd62d
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=07c425cc290ccea8cf4ae49148b8e26e9024692f
Log:
Init variable to NULL before passing to zpp
Changed paths:
M sapi/phpdbg/phpdbg.c
Diff:
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c
index 85a085b..3ee0bde 100644
--- a/sapi/phpdbg/phpdbg.c
+++ b/sapi/phpdbg/phpdbg.c
@@ -447,7 +447,7 @@ static PHP_FUNCTION(phpdbg_end_oplog)
phpdbg_oplog_entry *cur = PHPDBG_G(oplog_list)->start;
phpdbg_oplog_list *prev = PHPDBG_G(oplog_list)->prev;
- HashTable *options;
+ HashTable *options = NULL;
zval *option_buffer;
zend_bool by_function = 0;
zend_bool by_opcode = 0;