[gs-cvs] rev 9116 - trunk/gs/psi

leonardo at ghostscript.com leonardo at ghostscript.com
Tue Sep 23 11:57:30 PDT 2008


Author: leonardo
Date: 2008-09-23 11:57:30 -0700 (Tue, 23 Sep 2008)
New Revision: 9116

Modified:
   trunk/gs/psi/zfrsd.c
Log:
Fix (PS interpreter) : Incorrect data in garbager descriptor for reusable stream state.

DETAILS :

The bug was introduced in rev 8810.
It defines a wrong offset for a relocating pointer.
The reason is an inaccurate copy-and-replace coding.
Fortunately the offset pointed to a static data pointer,
which the garbager filtered out with an error message.

EXPECTED DIFFERENCES :

None.


Modified: trunk/gs/psi/zfrsd.c
===================================================================
--- trunk/gs/psi/zfrsd.c	2008-09-22 16:34:24 UTC (rev 9115)
+++ trunk/gs/psi/zfrsd.c	2008-09-23 18:57:30 UTC (rev 9116)
@@ -315,7 +315,7 @@
 }
 static 
 ENUM_PTRS_WITH(aos_enum_ptrs, aos_state_t *pptr) return 0;
-ENUM_PTR(0, gs_context_state_t, pgs);
+ENUM_PTR(0, aos_state_t, s);
 case 1:
 ENUM_RETURN_REF(&pptr->blocks);
 ENUM_PTRS_END



More information about the gs-cvs mailing list