Update of /cvsroot/monetdb/MonetDB5/src/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv20249
Modified Files:
mal_parser.mx
Log Message:
Make sure you don't work with a dirty stack area.
Index: mal_parser.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/mal_parser.mx,v
retrieving revision 1.195
retrieving revision 1.196
diff -u -d -r1.195 -r1.196
--- mal_parser.mx 22 May 2007 21:17:08 -0000 1.195
+++ mal_parser.mx 23 May 2007 17:17:45 -0000 1.196
@@ -419,6 +419,7 @@
int hex=0;
str s = CURRENT(cntxt);
+ memset((char*)cst, 0, sizeof(ValRecord));
cst->vtype = TYPE_int;
switch(*s){
case '"':
@@ -734,6 +735,7 @@
if (*v != '\'')
return 0;
+ memset((char*)cst, 0, sizeof(ValRecord));
cst->vtype = TYPE_chr;
cst->val.cval[1]= 0;
cst->val.cval[2]= 0;
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins