php-src/ext/mbstring
Niels Dossche ed0c0df351
Fix GH-10627: mb_convert_encoding crashes PHP on Windows
Fixes GH-10627

The php_mb_convert_encoding() function can return NULL on error, but
this case was not handled, which led to a NULL pointer dereference and
hence a crash.

Closes GH-10628

Signed-off-by: George Peter Banyard <girgias@php.net>
2023-02-20 13:33:11 +00:00
..
libmbfl Use different mblen_table for different SJIS variants 2023-01-06 14:09:43 +02:00
tests Fix GH-10627: mb_convert_encoding crashes PHP on Windows 2023-02-20 13:33:11 +00:00
ucgendat Combine control into one character group 2021-08-24 20:39:16 +02:00
common_codepoints.txt mb_detect_encoding recognizes all letters in Hungarian alphabet 2022-05-25 08:22:07 +02:00
config.m4 Remove duplicate implementation of CP932 from mbstring 2021-06-17 13:12:40 +02:00
config.w32 Remove duplicate implementation of CP932 from mbstring 2021-06-17 13:12:40 +02:00
CREDITS
gen_rare_cp_bitvec.php Improve detection accuracy of mb_detect_encoding 2021-10-19 18:05:51 +02:00
mb_gpc.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
mb_gpc.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
mbstring.c Fix GH-10627: mb_convert_encoding crashes PHP on Windows 2023-02-20 13:33:11 +00:00
mbstring.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
mbstring.stub.php Add support for generating MAY_BE_ARRAY_OF_REF func info flag (#7416) 2021-08-30 13:50:34 +02:00
mbstring_arginfo.h Add support for generating MAY_BE_ARRAY_OF_REF func info flag (#7416) 2021-08-30 13:50:34 +02:00
php_mbregex.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_mbregex.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_onig_compat.h
php_unicode.c Return bool from php_unicode_is_prop() 2021-08-24 19:21:21 +02:00
php_unicode.h Add comments to grouped character properties 2021-08-24 22:09:26 +02:00
rare_cp_bitvec.h mb_detect_encoding recognizes all letters in Hungarian alphabet 2022-05-25 08:22:07 +02:00
unicode_data.h Update Unicode tables to 14.0.0 2021-09-20 09:58:20 +02:00