Files
photocraft/crates/engine
David MannandClaude Opus 5.5 027bfb30ed XML: deeply nested ORA, KRA, Camera Raw XMP, .kys and layer XMP are an error, not a crash (#9419)
roxmltree recurses once per element level, so a few thousand nested
tags overflow the thread stack, an abort no guard can catch. SVG checked
the nesting before parsing; the other five roxmltree callers now go
through photocraft_io::xml::parse, which applies the same check (512
levels) and, where a DTD is allowed (KRA), refuses an internal subset
whose entities could expand into nesting the check never sees.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 12:49:05 +01:00
..