1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 16:22:37 +01:00
Files
Niels Dossche b3a56bd558 Fix GH-14290: Member access within null pointer in extension spl
php_pcre_replace_impl() can fail and return NULL. We should take that
error condition into account. Because other failures return false, we
return false here as well.

At first, I also thought there was a potential memory leak in the error
check of replacement_str, but found that the error condition can never
trigger, so replace that with an assertion.

Closes GH-14292.
2024-05-21 23:20:32 +02:00
..
2021-06-18 15:22:52 +01:00
2021-06-18 15:22:52 +01:00
2021-05-26 09:36:23 +02:00
2022-09-14 11:28:06 +02:00
2021-06-18 15:22:52 +01:00
2022-04-13 20:34:23 +01:00
2022-09-14 11:28:06 +02:00