Dear Maintainer,

I am seing the same behaviour...

It works fine with ghostscript 9.20:

11:18 user@machine ~ % ghostscript -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT
-dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 -sDEVICE=pngalpha
-dTextAlphaBits=4 -dGraphicsAlphaBits=4 -r72x72 -dFirstPage=1
-dLastPage=1 '-sOutputFile=test.png' '-ftest.pdf'
GPL Ghostscript 9.20 (2016-09-26)
Copyright (C) 2016 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1

but fails with the latest version of Ghostscript that just landed in
security:

11:19 user@machine ~ % ghostscript -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT
-dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 -sDEVICE=pngalpha
-dTextAlphaBits=4 -dGraphicsAlphaBits=4 -r72x72 -dFirstPage=1
-dLastPage=1 '-sOutputFile=test.png' '-ftest.pdf'
GPL Ghostscript 9.26 (2018-11-20)
Copyright (C) 2018 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
zsh: segmentation fault  ghostscript -dSAFER -dBATCH -dNOPAUSE
-dNOPROMPT -dMaxBitmap=500000000

This has been replicated in at least 2 machines running Debian Stretch
on my side.

Of note, this is also treated for Ubuntu here:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1806517 

This regression is hurting the use of imagemagick on PDF files in
production which is a severe regression. Temporary fix is to revert to a
previous (but unsecure presumably) GS verion.

Thank you for your help

Pierre-Alain


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to