Files
lightcraft/crates/gpu
Andrew FrahnandClaude Opus 5.5 0b38101924 Never crash: an oversize export size is an error, not a multiply overflow
render_export / export_job now refuse an output box past 65535 px per side or
2^30 pixels (lightcraft_pipeline::check_output_size) before anything is sized
from it, and the GPU render checks w*h (and its 12-byte buffers) with
checked_mul, failing with a Limit error instead of overflowing.

Sources: own design.

(cherry picked from commit e0b279ad8e)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 11:22:28 +11:00
..
2026-10-15 03:40:17 -04:00