php-src/ext/mbstring
Ilija Tovilo 7364b7bc0b
Fix uaf of MBSTRG(all_encodings_list)
We need to remove the value from the GC buffer before freeing it. Otherwise
shutdown will uaf when running the gc. Do that by switching from
zend_hash_destroy to zend_array_destroy, which should also be faster for freeing
members due to inlining of i_zval_ptr_dtor.

Closes GH-11822
2023-07-31 13:31:50 +02:00
..
libmbfl Merge branch 'PHP-8.2' 2023-05-30 14:02:16 -07:00
tests Fix uaf of MBSTRG(all_encodings_list) 2023-07-31 13:31:50 +02:00
ucgendat Optimize mb_str{,im}width for performance 2021-09-29 18:19:01 +02:00
common_codepoints.txt Improve mb_detect_encoding's recognition of Turkish text 2022-12-30 14:22:46 +02:00
config.m4 Combine CJK encoding conversion code in a single source file 2023-05-20 21:27:48 -07:00
config.w32 Combine CJK encoding conversion code in a single source file 2023-05-20 21:27:48 -07:00
CREDITS
gen_rare_cp_bitvec.php Mark globals as const (#10303) 2023-01-23 13:46:58 +00:00
mb_gpc.c Take order of candidate encodings into account when guessing text encoding 2023-05-16 07:01:07 -07:00
mb_gpc.h Remove unused 'to_language' and 'from_language' struct fields 2022-08-16 16:43:26 +02:00
mbstring_arginfo.h [RFC] Implement mb_str_pad() (#11284) 2023-06-20 21:22:04 +02:00
mbstring.c Fix uaf of MBSTRG(all_encodings_list) 2023-07-31 13:31:50 +02:00
mbstring.h Take order of candidate encodings into account when guessing text encoding 2023-05-16 07:01:07 -07:00
mbstring.stub.php [RFC] Implement mb_str_pad() (#11284) 2023-06-20 21:22:04 +02:00
php_mbregex.c Reduce memory allocated by var_export, json_encode, serialize, and other (#8902) 2022-07-08 14:47:46 +02:00
php_mbregex.h Declare ext/mbstring constants in stubs (#8798) 2022-06-23 17:34:08 +02:00
php_onig_compat.h
php_unicode.c Implement conditional casing for Greek letter sigma when title-casing text 2023-01-12 17:41:11 +02:00
php_unicode.h Speed boost for mb_stripos (when not using UTF-8) 2022-12-18 15:31:20 +02:00
rare_cp_bitvec.h Mark globals as const (#10303) 2023-01-23 13:46:58 +00:00
unicode_data.h Update Unicode tables to 14.0.0 2021-09-20 09:58:20 +02:00