[gs-cvs] rev 7475 - in trunk/gs: doc lib

alexcher at ghostscript.com alexcher at ghostscript.com
Fri Dec 8 16:14:29 PST 2006


Author: alexcher
Date: 2006-12-08 16:14:28 -0800 (Fri, 08 Dec 2006)
New Revision: 7475

Modified:
   trunk/gs/doc/pscet_status.txt
   trunk/gs/lib/gs_dps2.ps
Log:
Validate the argument of execuserobject and undefineuserobject before trying to
access UserObjects (which may be undefined) to match CET 31-03 and 31-11.

DIFFERENCES:
None


Modified: trunk/gs/doc/pscet_status.txt
===================================================================
--- trunk/gs/doc/pscet_status.txt	2006-12-08 23:08:31 UTC (rev 7474)
+++ trunk/gs/doc/pscet_status.txt	2006-12-09 00:14:28 UTC (rev 7475)
@@ -5115,7 +5115,7 @@
 
 31-02-2  OK	
 
-31-03-1  DIFF	typecheck vs undefined (bottom of page) assign Ray
+31-03-1  OK  	Fixed in rev 7474. - Alex
 
 31-03-2  OK	
 
@@ -5153,9 +5153,7 @@
 
 31-10-3  OK	
 
-31-11-1  DIFF	undefineduserobject returns undefined error in gs and
-                stackunderflow in cpsi also gs returns undefined and
-                cpsi typecheck on last 3 lines.  assign Ray.
+31-11-1  OK  	Fixed in rev 7474. - Alex
 
 31-11-2  OK	
 

Modified: trunk/gs/lib/gs_dps2.ps
===================================================================
--- trunk/gs/lib/gs_dps2.ps	2006-12-08 23:08:31 UTC (rev 7474)
+++ trunk/gs/lib/gs_dps2.ps	2006-12-09 00:14:28 UTC (rev 7475)
@@ -216,13 +216,14 @@
 } odef
 /execuserobject {		% <index> execuserobject -
   dup type /integertype ne {
-    % Adobe validates the argument before accessing UserObjects - CET 31-03
+    % Adobe validates the argument before accessing UserObjects - CET 31-03 
     /execuserobject .systemvar /typecheck signalerror 
   } if
   .UserObjects get 1 .argindex get exch pop exec
 } odef
 /undefineuserobject {		% <index> undefineuserobject -
   dup type /integertype ne {
+    % Adobe validates the argument before accessing UserObjects - CET 31-11 
     /undefineuserobject .systemvar /typecheck signalerror
   } if
   .UserObjects get 1 .argindex //null put pop



More information about the gs-cvs mailing list