fl0l0u
d893fd05d1
diag: the baseline and corpus files are read like the reports they are
...
Both files diagnose consumes are written by other runs and pasted
between people: --diagnose-baseline is an earlier report, the corpus a
forwarded file. Neither was read like a supplied file. The baseline got
the unbounded Json::parse, and compare_outputs then walked it with
throwing accessors -- a member it does not expect throws, and nothing
between run_diagnose and main catches -- so a crafted "earlier report"
aborted a run with std::terminate after hours of benchmarking work. The
corpus got a hand-rolled unbounded fread loop and a raw parser per
line: a deep line recursed the parse to a stack overflow before the
fingerprint check could ever run.
Now: capped read and parse_container on both (the corpus's size refusal
lands before the bytes are read), a per-line over/deep refusal that
names the line, and one try around the comparison so any structure the
comparison does not expect is the refusal it should be -- "the baseline
is not shaped like a report", parity not compared, the run keeps its
own results. diagnose_test pins the deep line.
Found by the 2.1.0 review pass (both security axes, independently).
2026-11-15 22:02:27 +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 20:38:10 +00:00
2026-11-15 20:38:10 +00: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 22:02:27 +00:00
2026-11-14 22:32:28 +01:00
2026-11-15 16:00:05 +01:00
2026-11-15 21:15:23 +00:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-11-15 20:38:10 +00: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 22:02:27 +00: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-11-15 21:15:23 +00: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-11-15 20:38:10 +00: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 22:02:26 +00: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-11-15 20:38:10 +00: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-15 20:38:10 +00:00
2026-10-16 18:25:18 +02:00