Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory 
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv10601/src/backends/monet5

Modified Files:
        sql.mx 
Log Message:
propagated changes of Wednesday Dec 02 2009
from the Nov2009 branch to the development trunk

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2009/12/02 - sjoerd: src/backends/monet5/sql.mx,1.358.2.14
  Move deference to after NULL check.
  Found by Coverity.
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: sql.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql.mx,v
retrieving revision 1.369
retrieving revision 1.370
diff -u -d -r1.369 -r1.370
--- sql.mx      15 Nov 2009 22:54:34 -0000      1.369
+++ sql.mx      2 Dec 2009 09:33:03 -0000       1.370
@@ -2480,8 +2480,8 @@
        GDKstrFromStr(tsep=GDKmalloc(len+1), *T, len); len = 0;
        len = strlen((char*)(*R));
        GDKstrFromStr(rsep=GDKmalloc(len+1), *R, len); len = 0;
-       len = strlen((char*)(*S));
        if (*S && strcmp(str_nil,*(char**)S)) {
+               len = strlen((char*)(*S));
                GDKstrFromStr(ssep=GDKmalloc(len+1), *S, len); 
                len = 0;
        }


------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to