Bug#1053521: ghostscript: ps2pdf modifies ASCII text of a PDF file, breaking conversion to text and searching for text (regression)
Package: ghostscript
Version: 10.02.0~dfsg-2
Severity: important
Tags: upstream
Forwarded: https://bugs.ghostscript.com/show_bug.cgi?id=707237
(Note that this is some form of data corruption.)
If I run ps2pdf on the PDF file from
https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3163.pdf
the text
arithmetic. Also, C99’s informative annex G offered [...]
is changed to
arithmetic. !lso, C99’s informative annex G offered [...]
i.e. the letter "A" is changed to the exclamation point "!".
Note that this is a regression: there is no such issue with the
ghostscript 10.0.0~dfsg-11+deb12u1 package under Debian 12 (bookworm).
The above PDF file was generated with Microsoft Word, and an
uncompressed stream shows unusual content. This is where the
bug occurs.
I've reported the bug upstream and put more technical details
there.
-- System Information:
Debian Release: trixie/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.5.0-1-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages ghostscript depends on:
ii libc6 2.37-12
ii libgs10 10.02.0~dfsg-2
ghostscript recommends no packages.
ghostscript suggests no packages.
-- no debconf information
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to:
- Prev by Date:
Processed: tagging 1007493, tagging 1007692, tagging 1007572, tagging 1007588, tagging 1007365, tagging 1007607 ...
- Next by Date:
Processing of bbmail_0.9.3-5_source.changes
- Previous by thread:
Processed: tagging 1007493, tagging 1007692, tagging 1007572, tagging 1007588, tagging 1007365, tagging 1007607 ...
- Next by thread:
Processing of bbmail_0.9.3-5_source.changes
- Index(es):