fl0l0u
e46a8ba3d4
util: the bounded read refuses before the tree exists
...
yy_convert enforced its value budget and depth bound in a second pass
that ran only after every frame of the document had been collected into
a scratch vector. The bound that promises a refused body has not grown
memory grew its scratch with the body: a 200k-empty-array swarm counts
no scalar at all, and the old code refused it after the whole swarm sat
in the frame list.
Both bounds are now enforced where a value is DISCOVERED -- every value
counted, containers included, which is what the pre-migration parser
callback counted and what the tests already pinned -- so a body past
either bound ends the walk while the scratch is still budget-sized. What
stays proportional to the body is yyjson's own read arena, capped by the
byte bound at its open, and oai.cpp's comment now says exactly that. A
json_test case carries the swarm.
2026-11-15 20:38:09 +00:00
..
2026-10-30 22:01:01 +01:00
2026-11-14 22:32:28 +01:00
2026-11-04 18:56:58 +01:00
2026-11-14 22:32:28 +01:00
2026-11-15 16:00:05 +01:00
2026-10-30 22:01:01 +01:00
2026-11-15 16:00:05 +01:00
2026-11-15 16:00:05 +01:00
2026-10-16 18:25:18 +02:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-11-15 16:00:05 +01:00
2026-10-16 18:25:18 +02:00
2026-10-30 22:01:01 +01:00
2026-11-15 16:00:05 +01:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-11-15 20:38:09 +00:00
2026-11-14 22:32:28 +01:00
2026-11-15 16:00:05 +01:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-11-15 16:00:05 +01:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-10-23 11:57:52 +02:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-11-15 16:00:05 +01:00
2026-11-15 16:00:05 +01:00
2026-11-03 14:35:30 -05:00
2026-11-03 13:56:46 -05:00
2026-11-03 13:56:46 -05:00
2026-11-14 22:32:28 +01:00
2026-10-16 18:25:18 +02:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-11-15 16:00:05 +01:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-11-15 20:38:09 +00:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-11-15 20:38:09 +00:00
2026-10-16 18:25:18 +02:00
2026-11-04 07:20:29 +01:00
2026-11-04 07:21:07 +01:00
2026-11-14 22:32:28 +01:00
2026-10-23 11:57:52 +02:00
2026-10-28 12:48:13 +01:00
2026-11-15 16:00:05 +01:00
2026-10-22 11:06:34 +02:00
2026-10-22 11:06:34 +02:00
2026-11-14 22:32:28 +01:00
2026-10-16 18:25:18 +02:00
2026-10-19 13:37:01 +02:00
2026-10-31 07:50:43 +01:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-10-23 11:57:52 +02:00
2026-11-14 22:32:28 +01:00
2026-10-16 18:25:18 +02:00
2026-10-25 12:09:29 +01:00
2026-10-25 10:55:27 +01:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-11-15 20:38:09 +00:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-11-04 22:08:53 +01:00
2026-11-14 22:32:28 +01:00
2026-10-23 11:57:52 +02:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-10-12 11:46:14 +02:00
2026-11-14 22:32:28 +01:00
2026-10-16 20:52:09 -05:00
2026-11-14 22:32:28 +01:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-10-16 18:25:18 +02:00
2026-10-20 21:05:16 +02:00
2026-10-29 00:44:13 -04:00
2026-10-16 18:25:18 +02:00
2026-10-28 00:33:55 -04:00
2026-10-16 18:25:18 +02:00
2026-11-04 07:20:29 +01:00
2026-11-15 16:00:05 +01:00
2026-10-22 11:06:34 +02:00
2026-10-04 12:02:41 +02:00
2026-10-16 18:25:18 +02:00
2026-10-28 23:44:38 -04:00
2026-10-12 11:46:14 +02:00
2026-10-30 10:22:53 +01:00
2026-10-30 10:22:53 +01:00
2026-10-30 10:22:53 +01:00
2026-10-30 10:22:53 +01:00
2026-10-30 09:47:42 -03:00
2026-10-30 09:47:42 -03:00
2026-10-30 10:22:53 +01:00
2026-10-16 18:25:18 +02:00
2026-10-20 07:04:01 +00:00
2026-10-20 07:04:01 +00:00
2026-10-04 12:02:41 +02:00
2026-11-15 16:00:05 +01:00
2026-10-24 13:12:28 +02:00
2026-11-15 16:00:05 +01:00
2026-10-30 09:47:42 -03:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-10-16 18:25:18 +02:00
2026-11-15 16:00:05 +01:00
2026-10-20 07:04:01 +00:00
2026-10-16 18:25:18 +02:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-10-20 21:05:16 +02:00
2026-10-20 21:05:16 +02:00
2026-10-21 09:26:17 +02:00
2026-11-04 18:56:58 +01:00
2026-10-16 18:25:18 +02:00
2026-10-28 12:48:13 +01:00
2026-10-26 15:22:39 +01:00
2026-10-30 22:01:01 +01:00
2026-10-30 22:01:01 +01:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-30 10:22:53 +01:00
2026-10-30 10:22:53 +01:00
2026-11-14 22:32:28 +01:00
2026-10-19 13:37:01 +02:00
2026-11-15 16:00:05 +01:00
2026-11-04 22:08:53 +01:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-10-20 07:06:18 +00:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-10-30 21:32:03 -05:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-11-15 20:38:09 +00:00
2026-11-14 22:32:28 +01:00
2026-11-02 18:35:02 +01:00
2026-11-04 22:08:06 +01:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-11-03 13:53:26 -05:00
2026-11-03 13:53:27 -05:00
2026-11-03 13:53:27 -05:00
2026-11-03 13:53:27 -05:00
2026-11-03 13:53:26 -05:00
2026-11-14 22:32:28 +01:00
2026-11-03 13:53:27 -05:00
2026-11-03 13:53:26 -05:00
2026-10-24 13:12:28 +02:00
2026-10-24 13:12:28 +02:00
2026-10-24 13:12:28 +02:00
2026-10-27 18:37:28 +01:00
2026-10-27 18:37:28 +01:00
2026-10-30 22:01:01 +01:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-10-18 11:38:37 +02:00
2026-10-29 13:45:18 -04:00
2026-10-16 18:25:18 +02:00
2026-11-14 22:32:28 +01:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-11-03 19:07:34 +01:00
2026-10-19 10:36:27 +02:00
2026-10-16 18:25:18 +02:00
2026-10-24 13:12:28 +02:00
2026-10-31 07:50:43 +01:00
2026-11-04 18:56:58 +01:00
2026-10-20 07:04:01 +00:00
2026-10-23 11:57:52 +02:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-10-31 07:50:43 +01:00
2026-10-28 12:37:10 +01:00
2026-11-04 18:56:58 +01:00
2026-11-14 22:32:28 +01:00
2026-10-18 11:38:37 +02:00
2026-11-14 22:32:28 +01:00
2026-10-16 18:25:18 +02:00