View Issue Details

IDProjectCategoryView StatusLast Update
0016105CentOS-7ghostscriptpublic2019-05-22 07:24
Reportercatalin.costras 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformOSCentOSOS Version
Product Version7.6.1810 
Target VersionFixed in Version 
Summary0016105: Corrupted PDF hangs PDF conversion
DescriptionA corrupted PDF will hang the conversion and print the last error line infinitely, ending eventually in filling up the partition.

The bug has been fixed in 2016:
https://bugs.ghostscript.com/show_bug.cgi?id=696499
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=03456d0a

Way to reproduce:
using this file https://bugs.ghostscript.com/attachment.cgi?id=12222
run: convert -quiet pdf:<downloaded_file>.pdf -thumbnail "100x>" png:- 1>thumb.png
The output will be the following (parsing in an infinite loop):
Ignoring changes to the graphic state after operator 'W'.
Ignoring changes to the graphic state after operator 'W'.

Steps to fix:
Built the latest ghostscript (9.27) version from source and ran again the same command. The problem disappeared


Can that patch be included in a new ghostscript rpm?



TagsNo tags attached.
abrt_hash
URL

Activities

catalin.costras

catalin.costras

2019-05-21 12:59

reporter  

t5731666.pdf (81,489 bytes)

Issue History

Date Modified Username Field Change
2019-05-21 12:59 catalin.costras New Issue
2019-05-21 12:59 catalin.costras File Added: t5731666.pdf