mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-06 18:52:36 +00:00
Disabling each input guard in turn left several with no failing test. Each now has one that pins the guard's own refusal, not a later error: - a zero Huffman code-length width, and a zero code length; - a boolean array longer than the data, refused before any bit is read; - a character array count past the data; - no file structures, or more than MAX_FILE_STRUCTURES; - a schema entry count past the data; - normal angles wider than 16 bits; - more texture sets than a face may carry (now by message); - representation sets nested past the ceiling (and at it, accepted); - a prototype chain past the ceiling; - the element allowance, at each place it is charged: an entity's counted array, uncompressed character and short arrays, a schema program, and across one walk's readers (walk_within takes the allowance so a test can set it; an allowance that fits one file structure does not fit two). Each fails with its guard disabled (the texture-set one by aborting on the allocation the guard prevents). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SqmHYx8FiWM5PcsoiErgp9