[gs-cvs] gs/src

Stefan Kemper stefan at ghostscript.com
Wed Jul 6 13:54:09 PDT 2005


Update of /cvs/ghostscript/gs/src
In directory casper2:/tmp/cvs-serv27166

Modified Files:
	scfparam.c 
Log Message:
Bug fix for 688196.

CCITTFAX decode filter had number of rows limited to 32000.
Test file with 40000 found, limit is now 1,000,000


Index: scfparam.c
===================================================================
RCS file: /cvs/ghostscript/gs/src/scfparam.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- scfparam.c	21 Feb 2002 22:24:53 -0000	1.4
+++ scfparam.c	6 Jul 2005 20:54:07 -0000	1.5
@@ -45,8 +45,8 @@
     gs_param_item_end
 };
 
-/* Define a limit on the Rows parameter, close to max_int. */
-#define cf_max_height 32000
+/* Define a limit on the Rows parameter, was too low at 32000 */
+#define cf_max_height 1000000
 
 /* Get non-default CCITTFax filter parameters. */
 stream_state_proc_get_params(s_CF_get_params, stream_CF_state);		/* check */



More information about the gs-cvs mailing list