Update of /cvsroot/monetdb/buildtools/burg
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5144
Modified Files:
Tag: MonetDB_1-20
main.c
Log Message:
Off-by-one error.
Index: main.c
===================================================================
RCS file: /cvsroot/monetdb/buildtools/burg/main.c,v
retrieving revision 1.2
retrieving revision 1.2.12.1
diff -u -d -r1.2 -r1.2.12.1
--- main.c 26 Jul 2005 14:22:29 -0000 1.2
+++ main.c 28 Nov 2007 10:21:10 -0000 1.2.12.1
@@ -215,7 +215,7 @@
strdup (const char *s) {
int len = strlen (s);
- char *ret = malloc (len);
+ char *ret = malloc (len + 1);
if (!ret)
return NULL;
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins