Update of /cvsroot/monetdb/pathfinder/runtime
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv19902

Modified Files:
        serialize.mx 
Log Message:
bug 2009556: disallow serializing the collection node



U serialize.mx
Index: serialize.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/serialize.mx,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -d -r1.121 -r1.122
--- serialize.mx        30 Mar 2009 14:46:37 -0000      1.121
+++ serialize.mx        7 Apr 2009 08:54:23 -0000       1.122
@@ -1902,6 +1902,10 @@
                 case ELEM:
                     {
                         /* node_kind and cont have been already looked up */
+                       if (!valoid) {
+                               GDKerror ("serialize.mx: cannot print the 
special collection node.\n");
+                               return GDK_FAIL;
+                       }
 
                         /* print top level text nodes */
                         if (node_kind == (char)1 /* TEXT */) {


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to