Created attachment 7606 [details] pdf aborts gswin32.exe The attached pdf causes gswin32.exe to abort. The call we are using is : "C:\Program Files\Ghostscript\gs9.02\bin\gswin32.exe" "-IC:\Program Files\Ghostscript\gs9.02\lib;C:\Program Files\Ghostscript\fonts" -dNOPAUSE -dBATCH -dSAFER -sDEVICE=jpeg -dEPSCrop -f -q -dTextAlphaBits=4 -dUseCropBox -dDOINTERPOLATE -dDisableFAPI -sOutputFile="%%d.jpg" "abort.pdf" The abort does not happen if "-dDOINTERPOLATE" is omitted.
The problem is already fixed in the development version by the following commit: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=507cbee1403b20b2c3fec692f746f41d9d985566 commit 507cbee1403b20b2c3fec692f746f41d9d985566 Author: Robin Watts <robin.watts@artifex.com> Date: Fri Apr 8 13:34:53 2011 +0000 Fix Bug 692129. If an image is scaled to zero height and interpolation is on, we end up mallocing a zero byte buffer and then overrunning it. The fix is to detect this scaling, and still allocate a 1 pixel high buffer.