mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-12 13:54:09 +00:00
In `a_shared_jbig2_dictionary_that_cant_leave_refuses_the_redaction`, the case of a copy of the dictionary whose `/Filter` is given by reference may end `Ok`, the image stored again without it. That branch checked only that the dictionary, object 9, left, and that its marker was nowhere in the file. But `assert_gone` can't decode the copy, object 10, with its filter by reference, and its bytes are Flate, so a run that never found the copy, and left it in the file, passed. The branch now checks that object 10 left too, through `reachable_objects`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AmsdeUCdTaD72jkDw2pJKY