[gs-bugs] [Bug 692368] Segmentation fault when rasterizing a PDF file

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Fri Jul 22 17:49:03 UTC 2011


--- Comment #1 from Alex Cherepanov <alex.cherepanov at artifex.com> 2011-07-22 17:49:02 UTC ---
The problem is confirmed on a 64-bit GNU/Linux box.
The SEGV is caused by the incorrect value of ptile->ttrans->pat_trans_fill.
Old versions of gs don't crash but allocate gigabytes of memory.

#0  in st_free ()
#1  in tile_by_steps_trans at ./base/gxp1fill.c:560
#2  in gx_trans_pattern_fill_rect  at ./base/gxp1fill.c:856
#3  in gx_dc_pat_trans_fill_rectangle  at ./base/gxp1fill.c:802
#4  in gx_general_fill_path at ./base/gxfill.c:446
#5  in gx_default_fill_path at ./base/gxfill.c:665
#6  in clist_playback_band  at ./base/gxclrast.c:1804
#7  in clist_playback_file_bands  at ./base/gxclread.c:852
#8  in tile_pattern_clist at ./base/gxp1fill.c:285
#9  in tile_by_steps at ./base/gxp1fill.c:206

Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the gs-bugs mailing list