mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-06 05:53:08 -05:00
The 256 MiB document limit sat in Disk::open_target, which
placedItems' file assignment also calls, so an oversized image was
refused as "Script document exceeds 256 MiB" before its own check
("is larger than 256 MiB") ran, and
placed_file_refuses_bad_values_without_changing_the_document failed.
app.open now checks the document size itself after open_target, and
open_target still reports a failed metadata read as a read failure.