php-src/ext/gettext
David Carlier e975c27e12
Fix GH-17400: bindtextdomain segfault with UTF-16 domain value.
The provided domain could be a non ascii value even if not supposed to,
in the error reported case was of 4 code points long but domain is "empty" leading to
a NULL return. It worked up to 8.3 "by accident" before the zend_string
conversion and check prior for emptiness.

close GH-17402
2025-01-09 13:45:59 +00:00
..
tests Fix GH-17400: bindtextdomain segfault with UTF-16 domain value. 2025-01-09 13:45:59 +00:00
config.m4 Merge branch 'PHP-8.3' into PHP-8.4 2024-12-19 18:38:30 +01:00
config.w32 Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
CREDITS
gettext.c Fix GH-17400: bindtextdomain segfault with UTF-16 domain value. 2025-01-09 13:45:59 +00:00
gettext.stub.php ext/gettext: update arguments handling. 2024-04-29 18:38:34 +01:00
gettext_arginfo.h ext/gettext: update arguments handling. 2024-04-29 18:38:34 +01:00
php_gettext.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00