Isaac Connor and Claude Opus 5.5
ef29de86d4
fix: check SET_EVENT ids before authorising and packing them refs #4186
...
stream.php checked the target event's permission using the request
string and then packed intval() of it. On 32-bit PHP intval('2147483648')
is 2147483647, so the check and zms could see different events, and a
non-numeric or array value was cast to whatever intval() made of it.
The ids now have to be digit strings that fit in this PHP's int, or the
request is refused. The checked int is what gets packed. The packing
moved to includes/stream_set_event.php so tests/php can check the bytes
against EventStream::DecodeSetEvent's layout.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-04 19:32:53 -05:00
..
2026-06-09 17:35:39 -04:00
2026-10-28 18:01:25 -05:00
2026-10-31 18:45:52 -04:00
2026-11-01 11:31:26 -05:00
2026-10-30 18:53:27 -04:00
2026-10-31 19:08:08 -04:00
2026-10-31 10:46:05 -04:00
2026-11-01 11:31:26 -05:00
2026-10-10 13:36:01 -04:00
2026-10-12 11:28:40 -05:00
2026-10-28 18:01:26 -05:00
2026-08-17 20:52:10 -04:00
2026-11-01 10:28:15 -05:00
2026-11-01 10:27:39 -05:00
2026-08-17 20:52:10 -04:00
2026-10-15 18:57:14 -05:00
2026-09-24 19:44:16 -04:00
2026-08-29 14:01:25 -04:00
2026-10-31 23:01:19 -04:00
2026-10-15 22:37:07 -04:00
2026-10-28 19:20:54 -04:00
2026-10-08 18:21:32 -04:00
2026-11-01 17:21:45 -05:00
2026-10-28 18:01:25 -05:00
2026-10-28 18:01:25 -05:00
2026-10-14 22:41:42 -05:00
2026-10-15 07:58:26 -04:00
2026-08-17 20:52:10 -04:00
2026-10-16 10:13:53 -05:00
2026-09-03 20:17:16 -04:00
2026-11-01 22:04:58 -05:00
2026-10-22 21:05:33 -05:00
2026-10-31 19:08:28 -04:00
2026-11-02 22:50:01 -05:00
2026-10-21 19:06:25 -05:00
2026-10-31 18:19:41 -04:00
2026-10-30 18:10:30 -04:00
2026-11-01 17:19:47 -05:00
2026-09-01 07:50:15 +05:30
2026-11-02 04:08:13 +05:30
2026-07-21 21:29:50 -04:00
2026-07-28 21:45:08 -04:00
2026-07-28 21:27:47 -04:00
2026-11-01 17:29:02 -05:00
2026-10-01 11:48:26 -04:00
2026-10-16 10:13:53 -05:00
2026-11-02 08:39:59 -05:00
2026-10-04 08:26:42 -05:00
2026-10-11 11:16:14 -04:00
2026-11-01 10:27:39 -05:00
2026-10-28 18:01:26 -05:00
2026-08-05 22:08:23 -04:00
2026-10-28 18:01:26 -05:00
2026-10-25 20:58:53 -05:00
2026-08-08 15:41:20 -04:00
2026-10-31 23:01:19 -04:00
2026-08-30 01:37:45 +05:30
2026-10-31 20:02:16 -04:00
2026-11-04 08:26:38 -05:00
2026-10-15 18:57:14 -05:00
2026-09-24 19:51:27 -04:00
2026-10-25 09:59:36 -04:00
2026-10-11 23:07:08 -04:00
2026-10-31 09:04:37 -04:00
2026-10-30 18:10:07 -04:00
2026-10-30 18:11:04 -04:00
2026-08-07 21:06:58 -04:00
2026-11-04 19:32:53 -05:00
2026-10-28 18:01:26 -05:00
2026-10-08 18:14:17 -04:00
2026-10-16 21:51:23 -05:00
2026-09-08 02:56:06 +05:30
2026-10-31 11:11:01 -04:00
2026-10-30 19:30:28 -04:00