aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFWriter.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2020-10-31 16:43:31 +0100
committerJay Berkenbilt <ejb@ql.org>2020-10-31 17:14:26 +0100
commit96767fb104589ee1152152edc803b5f979a8390f (patch)
treebbb5e1e93d71ed697cd41c8884b907688b653d34 /libqpdf/QPDFWriter.cc
parentf1ae55a430b194aafc0afa37d5752b7d04c0f461 (diff)
downloadqpdf-96767fb104589ee1152152edc803b5f979a8390f.tar.zst
Fix foreign stream copying bug (fixes #478)
This reverts an incorrect fix to #449 and codes it properly. The real problem was that we were looking at the local dictionaries rather than the foreign dictionaries when saving the foreign stream data. In the case of direct objects, these happened to be the same, but in the case of indirect objects, the object references could be pointing anywhere since object numbers don't match up between the old and new files.
Diffstat (limited to 'libqpdf/QPDFWriter.cc')
0 files changed, 0 insertions, 0 deletions