History log of /php-src/ext/mbstring/tests/mb_str_pad.phpt (Results 1 – 2 of 2)
Revision Date Author Comments
# 78d98e50 30-Jun-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-11567: mb_str_pad causes access violation

When not providing a pad string, *and* not having other defaulted
arguments, the function would crash on a NULL pad zend_string*.
Des

Fix GH-11567: mb_str_pad causes access violation

When not providing a pad string, *and* not having other defaulted
arguments, the function would crash on a NULL pad zend_string*.
Despite testing with an empty pad string, the issue wasn't found because
when using named arguments the pad string *is* filled in.

show more ...


# 68591632 20-Jun-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

[RFC] Implement mb_str_pad() (#11284)

Closes GH-10203.