]> granicus.if.org Git - php/commitdiff
Init variable to NULL before passing to zpp
authorBob Weinand <bobwei9@hotmail.com>
Mon, 13 Jul 2015 23:55:32 +0000 (01:55 +0200)
committerBob Weinand <bobwei9@hotmail.com>
Mon, 13 Jul 2015 23:56:05 +0000 (01:56 +0200)
sapi/phpdbg/phpdbg.c

index 85a085b26ebcddcf5e89bd11033dded643c4314d..3ee0bde97f4c2ebf99c1dafc643f1a95c87d59c6 100644 (file)
@@ -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;