fl0l0u
90b1229bfc
place: the profile file is read like the untrusted file it is
...
--expert-profile read its file with no size cap -- any file, gigabytes,
appended into memory before a single check -- parsed the text with the
unbounded parser, and took n_trunk_layers through int32. That last one
is the quiet one: the loader refuses "this profile is for another
model" by comparing the file's layer count with the live model's, and a
value that wraps past 2^32 lands on exactly the number the comparison
asks for.
The read now caps at 64 MiB while appending -- past it, nothing further
is grown and the file is refused by name -- the parse is the container
helper (parse_container) like every other file input, and n_trunk_layers
is read as int64 and range-checked before it reaches the comparison. An
xstats_test case pins the loader's three refusals -- wrapped trunk
count, negative count, oversized contract -- and the tmp-symlink
refusal of the previous commit: the planted symlink survives untouched
and the profile file still lands.
2026-11-15 20:38:10 +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 20:38:09 +00:00
2026-11-14 22:32:28 +01:00
2026-11-15 16:00:05 +01:00
2026-11-15 20:38:09 +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 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-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 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-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