php-src/ext/pcre
Niels Dossche c4bb07552e
Fix GH-16184: UBSan address overflowed in ext/pcre/php_pcre.c
libpcre2 can return the special value -1 for a non-match.
In this case we get pointer overflow, although it doesn't matter in
practice because the pointer will be in bounds and the copy length will
be 0. Still, we should fix the UBSAN warning.

Closes GH-16205.
2024-10-03 21:10:57 +02:00
..
pcre2lib Merge branch 'PHP-8.1' into PHP-8.2 2023-10-27 17:44:56 +02:00
tests Fix GH-16184: UBSan address overflowed in ext/pcre/php_pcre.c 2024-10-03 21:10:57 +02:00
config.w32 Merge branch 'PHP-7.4' 2019-05-25 11:42:14 +02:00
config0.m4 Append -Wno-implicit-fallthrough flag conditionally (#13331) 2024-07-22 06:57:04 +02:00
CREDITS
php_pcre.c Fix GH-16184: UBSan address overflowed in ext/pcre/php_pcre.c 2024-10-03 21:10:57 +02:00
php_pcre.def Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
php_pcre.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_pcre.stub.php Declare ext/pcre constants in stubs (#9077) 2022-07-21 13:21:02 +02:00
php_pcre_arginfo.h Do not generate CONST_CS when registering constants (#9439) 2022-08-28 08:27:19 +02:00