summaryrefslogtreecommitdiff
path: root/Zend/zend_operators.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-06-20 10:52:18 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-06-20 16:21:39 +0200
commiteaafb69eea9dba06ee542383a746d3668fa072cf (patch)
tree56713e27861410b6767f9cc8347691ee3288dcbe /Zend/zend_operators.c
parent961935fde224f4488d3335bf8f509fb679e06e58 (diff)
downloadphp-git-eaafb69eea9dba06ee542383a746d3668fa072cf.tar.gz
Change indexing scheme for symtable_cache
symtable_cache_ptr now points to the first unused symtable_cache entry, rahter than the last used one. This avoids taking a pointer to the minus first element of the array, which is UB. Instead we take a pointer to the end plus one, which is not UB.
Diffstat (limited to 'Zend/zend_operators.c')
0 files changed, 0 insertions, 0 deletions