#
d3d6d790 |
| 21-Oct-2021 |
Christoph M. Becker |
Fix #76167: mbstring may use pointer from some previous request We must not reuse per-request memory across multiple requests, so this check triggered during RINIT makes no sense. As ex
Fix #76167: mbstring may use pointer from some previous request We must not reuse per-request memory across multiple requests, so this check triggered during RINIT makes no sense. As explained in the bug report[1], it can be even harmful, if some request startup fails, and the pointers refer to already freed memory in the next request. [1] <https://bugs.php.net/76167> Closes GH-7604.
show more ...
|
#
0cafd53d |
| 04-May-2021 |
Christoph M. Becker |
Fix #81011: mb_convert_encoding removes references from arrays We need to dereference references. Closes GH-6938.
|
#
6031b082 |
| 07-Apr-2020 |
George Peter Banyard |
Revert "Fix Bug #79448 0 is a valid Unicode codepoint, but mb_substitute_character(0) fails" This commit brings some substantial changes in behaviour due to the weird implementation. Thi
Revert "Fix Bug #79448 0 is a valid Unicode codepoint, but mb_substitute_character(0) fails" This commit brings some substantial changes in behaviour due to the weird implementation. This will be fixed in master due to BC concerns. This reverts commit 1333b46d6dc0c293c1fd626803f91bc69743eb79.
show more ...
|
#
1333b46d |
| 03-Apr-2020 |
George Peter Banyard |
Fix Bug #79448 0 is a valid Unicode codepoint, but mb_substitute_character(0) fails
|
#
18dc9044 |
| 01-Apr-2020 |
George Peter Banyard |
Fix bug 79441
|
#
a62c06c4 |
| 29-Jan-2020 |
Nikita Popov |
Fix mb_ord() crash if internal encoding not supported enc_name can be NULL here. Take the name from the mbfl_encoding instead.
|
#
5589bf4d |
| 29-Jan-2020 |
Nikita Popov |
Fix length inconsistency in mb_convert_encoding Don't mix strlen() and ZSTR_LEN(). If the encoding contains a NULL byte, this will overflow the buffer. NULL bytes will still mak
Fix length inconsistency in mb_convert_encoding Don't mix strlen() and ZSTR_LEN(). If the encoding contains a NULL byte, this will overflow the buffer. NULL bytes will still make this behave oddly because the consuming code will cut off the string there, but let's address that in master...
show more ...
|
#
9fcaf25c |
| 28-Jan-2020 |
Nikita Popov |
Fix memory leak in mb_str_split
|
#
f1bf4bf6 |
| 22-Jan-2020 |
Christoph M. Becker |
Don't leak encoding_str
|
#
9be31a58 |
| 22-Jan-2020 |
Christoph M. Becker |
Fix #79154: mb_convert_encoding() can modify $from_encoding We must not modify arrays passed by value.
|
#
94c9dc49 |
| 22-Jan-2020 |
Christoph M. Becker |
Fix #79149: SEGV in mb_convert_encoding with non-string encodings We must not assume that `hash_entry` `IS_STRING`, but rather use `encoding_str` which is guaranteed to be.
|
Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1 |
|
#
6623e7ac |
| 02-Oct-2019 |
Nikita Popov |
Add support for mbstring.regex_retry_limit This is very similar to the existing mbstring.regex_stack_limit, but for backtracking. The default value matches pcre.backtrack_limit. Only
Add support for mbstring.regex_retry_limit This is very similar to the existing mbstring.regex_stack_limit, but for backtracking. The default value matches pcre.backtrack_limit. Only used on libonig >= 2.8.0.
show more ...
|
Revision tags: php-7.4.0RC3 |
|
#
45db6fa5 |
| 30-Sep-2019 |
Christoph M. Becker |
Fix #78609: mb_check_encoding() no longer supports stringable objects We apply type juggling for other types than array.
|
Revision tags: php-7.2.23, php-7.3.10 |
|
#
398b3083 |
| 21-Sep-2019 |
Christoph M. Becker |
Fix #78579: mb_decode_numericentity: args number inconsistency mb_decode_numericentity() accepts a fourth optional parameter, which is unused, however. Since this parameter doesn't do a
Fix #78579: mb_decode_numericentity: args number inconsistency mb_decode_numericentity() accepts a fourth optional parameter, which is unused, however. Since this parameter doesn't do any harm, and to avoid the small BC break, we're keeping this parameter for PHP 7, but adjust the arginfo. For PHP 8, we will remove this parameter.
show more ...
|
Revision tags: php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1, php-7.2.21RC1, php-7.3.8RC1 |
|
#
39e756e7 |
| 11-Jul-2019 |
Nikita Popov |
Deprecate encoding as 3rd param to mb_strrpos()
|
Revision tags: php-7.4.0alpha3, php-7.3.7, php-7.2.20 |
|
#
7defd5f6 |
| 01-Jul-2019 |
Nikita Popov |
Fix unused variable warnings when mbregex disabled
|
Revision tags: php-7.4.0alpha2, php-7.3.7RC3, php-7.3.7RC2, php-7.2.20RC2, php-7.4.0alpha1, php-7.3.7RC1, php-7.2.20RC1 |
|
#
457392fa |
| 05-Jun-2019 |
Dmitry Stogov |
Cheaper checks for exceptions thrown from __toString()
|
Revision tags: php-7.2.19, php-7.3.6, php-7.1.30, php-7.2.19RC1, php-7.3.6RC1, php-7.1.29, php-7.2.18, php-7.3.5, php-7.2.18RC1, php-7.3.5RC1, php-7.2.17, php-7.3.4, php-7.1.28, php-7.3.4RC1, php-7.2.17RC1, php-7.1.27, php-7.3.3, php-7.2.16 |
|
#
a31f4642 |
| 26-Feb-2019 |
Nikita Popov |
Allow exceptions in __toString() RFC: https://wiki.php.net/rfc/tostring_exceptions And convert some object to string conversion related recoverable fatal errors into Error excep
Allow exceptions in __toString() RFC: https://wiki.php.net/rfc/tostring_exceptions And convert some object to string conversion related recoverable fatal errors into Error exceptions. Improve exception safety of internal code performing string conversions.
show more ...
|
#
4c1a25ad |
| 17-Apr-2019 |
Dmitry Stogov |
Fixed compatibility with phpdbg
|
#
f73f190c |
| 16-Apr-2019 |
Nikita Popov |
Fix internal_encoding fallback in mbstring By introducing a hook that is called whenever one of internal_encoding / input_encoding / output_encoding changes, so that mbstring can adj
Fix internal_encoding fallback in mbstring By introducing a hook that is called whenever one of internal_encoding / input_encoding / output_encoding changes, so that mbstring can adjust it's internal state. This also makes internal_encoding work with zend multibyte.
show more ...
|
#
339b0af4 |
| 12-Apr-2019 |
Nikita Popov |
Avoid misc uninitialized variable warnings
|
#
3b53d28e |
| 12-Apr-2019 |
Nikita Popov |
Fix key leaks in mb_convert_encoding()
|
#
a61d24e4 |
| 11-Apr-2019 |
Nikita Popov |
Avoid onig match param unused variable warning
|
#
e12c069d |
| 30-Mar-2019 |
Stanislav Malyshev |
Add fallbacks for older oniguruma versions
|
#
4726c35c |
| 29-Mar-2019 |
Matteo Beccati |
Removed declaration inside for loops
|