Files
pdfcraft/crates
Higgs32584andClaude Opus 5.5 fde104475b fix(cos): cap the total entries a materialized xref-stream chain merges (#5082)
read_xref_chain_materialized capped each section's decode and the chain length but merged
every row of every section into one map with no total. It now counts the rows each section
merges and, past MAX_XREF_OBJECTS, returns a syntax error so the open path logs it and
rebuilds from object headers, as it already does when a single section's stream decodes past
that limit. The count is rows merged rather than map size, so relisted objects are bounded too,
and it never exceeds what the compact reader counts, whose limit is about a quarter of this one.

Fixes #5082

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 21:30:33 -04:00
..
2026-10-27 00:34:32 +00:00
…
2026-10-27 23:12:52 +00:00