Update of /cvsroot/monetdb/pathfinder/compiler/core
In directory 
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv29023/compiler/core

Modified Files:
        fs.brg 
Log Message:
propagated changes of Sunday Nov 22 2009 - Saturday Nov 28 2009
from the Nov2009 branch to the development trunk

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2009/11/22 - stmane: compiler/core/fs.brg,1.74.6.5
  
  some more defensive checks
  for recusions running out of stack space
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: fs.brg
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/core/fs.brg,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -d -r1.80 -r1.81
--- fs.brg      10 Nov 2009 09:44:16 -0000      1.80
+++ fs.brg      28 Nov 2009 19:58:04 -0000      1.81
@@ -727,6 +727,9 @@
                                      the current rule */
     PFpnode_t    *kids[MAX_KIDS]; /* leaf nodes of this rule */
 
+    /* guard against too dep recursion */
+    PFrecursion_fence();
+
     /* determine rule that matches for this non-terminal */
     rule = PFfs_rule (STATE_LABEL (p), goalnt);
 
@@ -923,6 +926,9 @@
 {
     PFcnode_t    *c;              /* temporary helper variable */
 
+    /* guard against too dep recursion */
+    PFrecursion_fence();
+
     /*
     PFinfo (OOPS_NOTICE, "processing rule %i", rule);
     */


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to