[gs-cvs] rev 9372 - trunk/gs/base
alexcher at ghostscript.com
alexcher at ghostscript.com
Sun Jan 18 11:57:58 PST 2009
Author: alexcher
Date: 2009-01-18 11:57:58 -0800 (Sun, 18 Jan 2009)
New Revision: 9372
Modified:
trunk/gs/base/gdevifno.c
Log:
Fix SEGV in 'inferno' device caused by insufficient memory allocation. Pass
correct device type to prn_device_body() macro. thanks to Wendy for the patch.
DIFFERENCES:
None, not covered by the test.
Modified: trunk/gs/base/gdevifno.c
===================================================================
--- trunk/gs/base/gdevifno.c 2009-01-17 09:13:53 UTC (rev 9371)
+++ trunk/gs/base/gdevifno.c 2009-01-18 19:57:58 UTC (rev 9372)
@@ -81,7 +81,7 @@
inferno_device far_data gs_inferno_device =
-{ prn_device_body(gx_device_printer, inferno_procs, "inferno",
+{ prn_device_body(inferno_device, inferno_procs, "inferno",
DEFAULT_WIDTH_10THS, DEFAULT_HEIGHT_10THS,
X_DPI, Y_DPI,
0,0,0,0, /* margins */
More information about the gs-cvs
mailing list