side effect of looking into bug 689595 - attachment 3609 [details] causes ghostscript 8.62 and head (svn 9061) to segfault with this: bin/gs -dBATCH -dPARANOIDSAFER -dNOPAUSE -sDEVICE=inferno \ -sOutputFile=/tmp/out attachment3609 [details] Seems to crash somewhere in gs_setdevice_no_init() with heap problem.
Created attachment 4675 [details] Patch Attached please find a patch for this bug. The gs_inferno_device() function passed the wrong device type structure originally, and caused the params_size member of the structure to be incorrect, hence insufficient memory allocated and overrun.
Looked at the patch and tested it; I believe it is the right fix. Please commit and close.
I concur. Please commit and close.
The patch is committed as a rev. 9372. This device is not covered by regression testing.