Files
photocraft/apps
David MannandClaude Opus 5.5 a617ba83fe SVG: a drawing the renderer panics on is an error, not a crash (#9404)
usvg, resvg and tiny-skia panic on some malformed drawings (an feOffset
past the pixmap's size, an embedded SVG image of near-zero width). Parse
and every render now run under catch_unwind, as the HEIF and JPEG XL
decoders do: a parse panic is IoError::Svg, a panicking element is dropped
with a warning and the rest opens, a smart-object render is an error, and
an icon-theme mask is None.

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