Update of /cvsroot/monetdb/clients/src/mapiclient
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7400
Modified Files:
MapiClient.mx
Log Message:
Don't copy a buffer over itself (not with strcpy anyway).
In any case, it is safe to increment line here.
Index: MapiClient.mx
===================================================================
RCS file: /cvsroot/monetdb/clients/src/mapiclient/MapiClient.mx,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- MapiClient.mx 28 Aug 2007 08:42:32 -0000 1.76
+++ MapiClient.mx 28 Aug 2007 08:47:41 -0000 1.77
@@ -1319,7 +1319,7 @@
case '?':
if (mode == MAL || debugMode()) {
/* send line from ? to server */
- strcpy(line, line + 1);
+ line++;
break;
}
showCommands();
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins