Niels Dossche
b621b3a00f
Fix GH-17187: unreachable program point in zend_hash
...
A bunch of different issues:
1) The referenced value is copied without incrementing the refcount.
The reason the refcount isn't incremented is because otherwise
the array modifications would violate the RC1 constraints.
Solve this by copying the reference itself instead and always
read the referenced value.
2) No type checks on the array data, so malicious scripts could
cause type confusion bugs.
3) Potential overflow when the arrays resize and we access ctag.
Closes GH-17205.
2024-12-27 15:51:17 +01:00
..
2024-05-30 15:51:05 +01:00
2024-11-17 12:27:26 +00:00
2024-11-29 16:30:01 +01:00
2024-11-26 20:37:51 +01:00
2024-12-20 15:03:47 +00:00
2024-12-06 19:01:50 +01:00
2024-12-20 18:46:55 +01:00
2024-12-26 12:24:06 +01:00
2024-10-13 21:12:46 +02:00
2024-12-25 21:33:14 +01:00
2024-09-05 01:41:55 +01:00
2024-12-18 11:38:44 +00:00
2024-12-25 16:27:20 +01:00
2024-12-19 18:26:35 +01:00
2024-11-27 19:54:06 +00:00
2024-11-10 20:16:33 +00:00
2024-12-06 17:43:38 +01:00
2024-12-07 15:10:06 +01:00
2024-10-24 15:56:25 +02:00
2024-11-20 11:12:19 +01:00
2024-12-26 12:24:06 +01:00
2024-12-11 19:32:36 +01:00
2024-12-09 23:37:03 +01:00
2024-11-20 11:12:19 +01:00
2024-08-06 16:54:58 +02:00
2024-12-24 14:22:48 +01:00
2024-11-09 11:49:08 +01:00
2024-12-15 22:13:27 +00:00
2024-10-03 21:11:25 +02:00
2024-11-06 20:31:30 +09:00
2024-11-20 11:12:19 +01:00
2024-11-20 11:12:19 +01:00
2024-05-21 12:21:46 +01:00
2024-10-31 16:16:29 +01:00
2024-09-12 18:19:20 +01:00
2024-06-29 15:52:28 +01:00
2024-12-15 14:50:59 +00:00
2024-12-15 13:50:09 +01:00
2024-10-13 02:07:11 +02:00
2024-08-13 20:54:12 +01:00
2024-08-07 22:38:30 +01:00
2024-11-02 19:37:28 +01:00
2024-10-13 14:19:33 +01:00
2024-06-28 20:14:20 +02:00
2024-12-15 11:31:32 +01:00
2024-12-01 13:58:21 +00:00
2024-11-08 20:47:28 +01:00
2024-12-16 22:55:23 +00:00
2024-05-23 22:40:54 +02:00
2024-12-21 12:46:05 +01:00
2024-12-20 18:46:55 +01:00
2024-11-03 13:39:41 +00:00
2024-10-26 15:07:57 +02:00
2024-07-21 16:28:15 +02:00
2024-12-27 15:51:17 +01:00
2024-10-08 20:57:54 +02:00
2024-10-12 15:12:40 +02:00
2024-10-12 15:12:40 +02:00
2024-12-25 21:33:14 +01:00
2024-10-13 02:29:22 +02:00