#
cd5a29b8 |
| 30-Mar-2020 |
Nikita Popov |
Properly report unknown encoding in encoding lists And clean up the related array and list parsing code.
|
#
ed850f27 |
| 30-Mar-2020 |
Nikita Popov |
Move encoding fetching outside php_mb_stripos()
|
Revision tags: php-7.3.18, php-7.4.4, php-7.2.29, php-7.3.16, php-7.4.4RC1, php-7.3.16RC1, php-7.4.3, php-7.2.28, php-7.3.15RC1, php-7.4.3RC1 |
|
#
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
|
#
7db3a518 |
| 28-Jan-2020 |
Nikita Popov |
Only fetch to_encoding once in mb_convert_encoding() Instead of doing it on every conversion. This is both more efficient and avoids generating multiple warnings.
|
Revision tags: php-7.3.15 |
|
#
ba82e187 |
| 25-Jan-2020 |
George Peter Banyard |
Allow empty needle in mb_strrchr()
|
Revision tags: php-7.2.27, php-7.4.2, php-7.3.14 |
|
#
986da2a4 |
| 07-Jan-2020 |
George Peter Banyard |
Convert warnings to ValueError in mb_strpos function family. Closes GH-5109
|
#
9e0e8d56 |
| 24-Jan-2020 |
Nikita Popov |
Handle mb_str(r)ipos offset consistently as well
|
#
ce616983 |
| 24-Jan-2020 |
Nikita Popov |
Move offset error checking into mbfl_strpos This avoids calculating the full length only in order to validate the offset, as mbfl_strpos needs to find the offset internally anyway.
|
#
0f6d223d |
| 24-Jan-2020 |
Nikita Popov |
Add #defines for mbfl_strpos error conditions
|
#
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.14RC1, php-7.4.2RC1, php-7.4.1, php-7.2.26, php-7.3.13, php-7.4.1RC1 |
|
#
483efc7e |
| 07-Dec-2019 |
George Peter Banyard |
Allow empty needles in mb_strpos and mb_strstr function family. MBstring analogous implementation to 6d578482a933be7597b686b59a935b316161d251 Closes GH-4977
|
#
aadd3aae |
| 03-Jan-2020 |
Máté Kocsis |
Use RETURN_THROWS() in various places
|
#
7b4a4d2a |
| 03-Jan-2020 |
Máté Kocsis |
Use RETURN_THROWS() after try_convert_to_string()
|
#
12ce73a5 |
| 31-Dec-2019 |
Máté Kocsis |
Use RETURN_THROWS() after zend_value_error()
|
#
34570372 |
| 31-Dec-2019 |
Máté Kocsis |
Use RETURN_THROWS() during ZPP in most of the extensions Except for some bigger ones: reflection, sodium, spl
|
#
2ab123b8 |
| 09-Dec-2019 |
Máté Kocsis |
Convert string|array union parameter types Closes GH-4995
|
#
fdf45deb |
| 13-Dec-2019 |
George Peter Banyard |
Remove deprecated behaviour of passing encoding as third parameter in mb_strrpos() Merged GH-5011
|
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 |
|
#
e2100619 |
| 07-Oct-2019 |
Christoph M. Becker |
Expect appropriate parameter type in the first place `mb_encode_numericentity()` and `mb_decode_numericentity()` accepted arbitrary zvals as `$convmap`, but ignored anything else than ar
Expect appropriate parameter type in the first place `mb_encode_numericentity()` and `mb_decode_numericentity()` accepted arbitrary zvals as `$convmap`, but ignored anything else than arrays. This appears to be an unresolved relict of their ZPP conversion for PHP 5.3[1]. We now expect an array in the first place. We also expect `count($convmap)` to be a multiple of four (else we throw a `ValueError`), and do no longer special case empty `$convmap`. [1] <http://git.php.net/?p=php-src.git;a=commit;h=1c77f594294aee9d60e7309279c616c01c39ba9d>
show more ...
|
#
8f7238ed |
| 06-Oct-2019 |
Christoph M. Becker |
Explicitly declare empty parameter list
|
#
0a47096c |
| 06-Oct-2019 |
Christoph M. Becker |
Add MBString arginfo stubs
|
#
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 ...
|