Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv10487

Modified Files:
      Tag: Aug2009
        sql_gencode.mx 
Log Message:
fix guaranteed segfault, don't try to dereference s if you just found out that 
s is NULL

U sql_gencode.mx
Index: sql_gencode.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql_gencode.mx,v
retrieving revision 1.332.2.2
retrieving revision 1.332.2.3
diff -u -d -r1.332.2.2 -r1.332.2.3
--- sql_gencode.mx      8 Oct 2009 09:10:43 -0000       1.332.2.2
+++ sql_gencode.mx      8 Oct 2009 09:32:08 -0000       1.332.2.3
@@ -1785,8 +1785,11 @@
 
 
                }
+
+               return s->nr;
        }
-       return s->nr;
+
+       return(0);
 }
 @-
 The kernel uses two calls to procedures defined in SQL.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to