Update of /cvsroot/monetdb/sql/src/backends/monet5/merovingian
In directory
sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv10825/src/backends/monet5/merovingian
Modified Files:
monetdb.c
Log Message:
propagated changes of Wednesday Apr 07 2010 - Thursday Apr 08 2010
from the Feb2010 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2010/04/07 - mr-meltdown: src/backends/monet5/merovingian/monetdb.c,1.71.2.2
another size related fix, also in the realloc, this time with a wrong size :/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: monetdb.c
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/merovingian/monetdb.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- monetdb.c 7 Apr 2010 13:43:07 -0000 1.73
+++ monetdb.c 8 Apr 2010 11:27:29 -0000 1.74
@@ -797,7 +797,7 @@
/* store what we found */
if (posloc == numlocs)
locations = realloc(locations,
- sizeof(char) * (numlocs
= numlocs * 2));
+ sizeof(char *) *
(numlocs = numlocs * 2));
locations[posloc++] = strdup(location);
if (strlen(location) > loclen)
loclen = strlen(location);
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins