From fa07a9c223a4aeaa55232d174d778974999ba779 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 13 Sep 2019 23:49:50 +0200 Subject: Fix symtable_cache_limit assignment in phpdbg The meaning of the limit changed in 7.4, it now points one past the end. Adjust code accordingly. --- sapi/phpdbg/phpdbg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/phpdbg/phpdbg.c') diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index 17de15fa91..8b01acdfe2 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -272,7 +272,7 @@ static PHP_MSHUTDOWN_FUNCTION(phpdbg) /* {{{ */ static PHP_RINIT_FUNCTION(phpdbg) /* {{{ */ { /* deactivate symbol table caching to have these properly destroyed upon stack leaving (especially important for watchpoints) */ - EG(symtable_cache_limit) = EG(symtable_cache) - 1; + EG(symtable_cache_limit) = EG(symtable_cache); return SUCCESS; } /* }}} */ -- cgit v1.2.1