php-src/ext/pcre
Christoph M. Becker 712fc54e85
Fix #74604: Out of bounds in php_pcre_replace_impl
Trying to allocate a `zend_string` with a length only slighty smaller
than `SIZE_MAX` causes an integer overflow; we make sure that this
doesn't happen by catering to the maximal overhead of a `zend_string`.

Closes GH-7597.
2021-11-29 19:12:55 +01:00
..
pcre2lib Fix #81424: PCRE2 10.35 JIT performance regression 2021-10-12 14:19:22 +02:00
tests Fix #81424: PCRE2 10.35 JIT performance regression 2021-10-12 14:19:22 +02:00
config0.m4 Fix bundled libpcre2 build regarding the -fcf-protection gcc flag 2020-09-17 16:21:01 +02:00
config.w32 Upgrade bundled PCRE2 to 10.33 2019-05-25 11:37:30 +02:00
CREDITS
php_pcre.c Fix #74604: Out of bounds in php_pcre_replace_impl 2021-11-29 19:12:55 +01:00
php_pcre.def Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
php_pcre.h Merge branch 'PHP-7.3' into PHP-7.4 2019-10-08 16:14:06 +02:00