]> granicus.if.org Git - php/commit
Fix #78620: Out of memory error
authorChristoph M. Becker <cmbecker69@gmx.de>
Wed, 2 Oct 2019 14:42:28 +0000 (16:42 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Wed, 2 Oct 2019 16:18:52 +0000 (18:18 +0200)
commit8ce04df7e0108a10f7b782a28204e9384ab1129c
tree36372a5cc014c94527ecff94d6631d48667e4833
parenta5d3620d937f69665d78ab8d21c757d3db17b5ec
Fix #78620: Out of memory error

If the integer addition in `ZEND_MM_ALIGNED_SIZE_EX` overflows, the
macro evaluates to `0`, what we should catch early.
NEWS
Zend/zend_alloc.c