[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#934571: texlive-binaries: gsftopk fails



Am 13.08.2019 um 03:25 teilte Igor Liferenko mit:

Hi,

> 1. $ md5sum /usr/share/texmf/fonts/type1/public/lm/lmr10.pfb
> f35b44530a1d90eb90fe15d9cba67ea0
> /usr/share/texmf/fonts/type1/public/lm/lmr10.pfb
> 
Same here.

> Recent versions of gs removed a lot of gs extensions to get closer
> to standard postscript and for some security issues, so that's
> probably the root cause
> 
Well, yes. But these changes mostly happened at the beginning of the
year. Further it does not explain, why it works OK on 2 my unstable
installations, meanwhile your one fails. I tested on my stable
installation (containing already the fix for CVE-2019-10216).

hille@debian-hilmar:~$ gsftopk rm-lmr10 600
gsftopk(k) version 1.19.2gs: Error: /undefined in shellarguments
gs: Operand stack:
gs:
gs: Execution stack:
gs:    %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--
  --nostringval--   false   1   %stopped_push   1992   1   3
%oparray_pop   1991   1   3   %oparray_pop   1979   1   3   %oparray_pop
  1833   1   3   %oparray_pop   --nostringval--   %errorexec_pop
.runexec2   --nostringval--   --nostringval--   --nostringval--   2
%stopped_push   --nostringval--
gs: Dictionary stack:
gs:    --dict:732/1123(ro)(G)--   --dict:0/20(G)--   --dict:95/200(L)--
gs: Current allocation mode is local
gs: Current file position is 4993
GPL Ghostscript 9.27: Unrecoverable error, exit code 1

gs terminated abnormally with status 1
hille@debian-hilmar:~$ echo $?
1
hille@debian-hilmar:~$

I'm wondering what gs version you have. your system information shows
you run unstable, hence I'd expect 9.27~dfsg-3. What does "dpkg -l
ghostscript" show?

> but gsftopk probably ought to detect that and at least give a
> sensible error.
> 
Well, at least one gets an error message from ghostscript and a clear
exit status from gsftopk. This is about what I can expect from a
program, which is not for the end user. What error message would you
expect gsftopk to print out in addition to the one from ghostscript?

Hilmar
-- 
sigfault
#206401 http://counter.li.org

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: