This repository has been archived on 2026-11-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
radiance-sycl/core/sample
fl0l0u 3ac3954fea sample: the schema reaches the converter through the bounded read
grammar.cpp guarded the json-schema-to-grammar converter with a depth
check -- kMaxSchemaDepth, added because a deeply nested schema crashes
the converter -- but it built the tree to measure with Json::parse, the
unbounded read. A schema nested past the guard's own reach was already a
stack overflow by the time json_depth ran: the check sat after the thing
it was written against.

The schema is now read with parse_bounded at exactly the depth the check
promises, plus a 2^20 value cap, so the refusal fires during the read,
before any nested tree exists to be walked, dumped or destroyed. Every
current caller already hands over a bounded body, but this entry point
does not know that -- it takes a string.
2026-11-15 20:38:10 +00:00
..
2026-10-16 18:25:18 +02:00
2026-10-29 12:04:24 +01: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-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-23 11:57:52 +02:00
2026-10-24 13:12:28 +02:00
2026-11-14 22:32:28 +01:00
2026-11-04 18:56:58 +01:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00