1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
Niels Dossche 2ad0b5cf05 Fix GH-19792: SCCP causes UAF for return value if both warning and exception are triggered
If an exception _and_ a warning (or deprecation) is emitted, then the
result is destroyed twice. Use an `else if` to prevent this.
This is tested via zend_test because the deprecation that triggered the
original reproducer may disappear in the future.

Closes GH-19793.
2025-09-11 19:35:53 +02:00
..
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2019-06-13 12:35:29 +02:00
2019-06-13 12:35:29 +02:00
2019-06-13 12:35:29 +02:00
2021-04-14 00:21:37 +08:00
2021-05-06 10:46:00 +02:00
2021-05-17 15:46:49 +02:00
2021-07-20 14:41:43 +02:00
2023-01-28 11:49:14 +01:00
2023-01-28 11:49:14 +01:00
2023-04-03 08:02:19 +02:00
2014-02-14 17:12:52 +02:00
2020-02-03 22:52:20 +01:00
2023-04-03 08:02:19 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2021-08-16 15:04:17 +02:00
2021-08-16 15:04:17 +02:00
2020-02-03 22:52:20 +01:00
2019-07-05 11:00:27 +02:00
2022-10-07 15:48:05 +02:00
2021-06-10 10:52:53 +02:00