mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-18 17:50:02 +00:00
The search for a PDF's editing file stopped 16 levels deep in the attachment name tree, so an editing file listed deeper read as absent and a confined package copied the PDF without checking its stored paths. The search now walks the tree at any depth, each indirect node once, up to 65,536 nodes; a tree with more nodes counts as listing the editing file, so a confined package refuses the PDF. A prepared package (Session::prepare_package) now keeps the read roots in force where it was prepared, and Package::write collects under them on any thread.