Your message dated Fri, 4 Feb 2011 18:02:05 +0100
with message-id <201102041802.07798.roucaries.bast...@gmail.com>
and subject line Done: modifying ps2epsi.ps in GS to fix ps2epsi
has caused the Debian Bug report #173448,
regarding modifying ps2epsi.ps in GS to fix ps2epsi
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
173448: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=173448
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gs
Version: 6.53-3
This is a (possible) solution to that reported bug #139892.
NOTE: The ps2epsi script in gs-common itself is also broken. There is no
white-space between a pair of arguments to a `sed' command on either
side of a \ continuation marker. This was reported in #153182. I can
send a trivial patch for that if required.
The ps2epsi procedule within ps2epsi.ps command invokes a security fix too
early, making the ps2epsi command fail with an /invalidaccess error.
The fix incorporated in later versions of ghostscript involved moving the
line
//systemdict /.setsafe known { .setsafe } if
to the end of the procedure as per the following patch.
--- gs-6.53.orig/lib/ps2epsi.ps
+++ gs-6.53/lib/ps2epsi.ps
@@ -52,7 +52,6 @@
/ps2epsi
{ % Open the file
outfile (w) file /epsifile exch def
- //systemdict /.setsafe known { .setsafe } if
% Get the device parameters
currentdevice getdeviceprops .dicttomark
/HWSize get aload pop
@@ -71,6 +70,7 @@
% Replace the definition of showpage
userdict /showpage { ps2edict begin epsipage end } bind put
userdict /setfont { ps2edict begin epsisetfont end } bind put
+ //systemdict /.setsafe known { .setsafe } if
} bind def
/epsifontdict 100 dict def
- Jason
--
Jason Lander ja...@env.leeds.ac.uk
--- End Message ---
--- Begin Message ---
Fixed like #139892.
--- End Message ---