Update of /cvsroot/monetdb/pathfinder/runtime
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv30036/runtime
Modified Files:
Tag: XQFT
xrpc_server.mx
Log Message:
propagated changes of Saturday Dec 26 2009 - Monday Jan 04 2010
from the development trunk to the XQFT branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/12/26 - stmane: runtime/xrpc_server.mx,1.93
propagated changes of Thursday Dec 24 2009 - Saturday Dec 26 2009
from the Nov2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/12/24 - sjoerd: runtime/xrpc_server.mx,1.91.2.2
Likely a typo.
If strchr returns non-NULL, we know that *q!=0, and if it does return
NULL, you get a crash.
Found by Coverity.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: xrpc_server.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/xrpc_server.mx,v
retrieving revision 1.91.4.1
retrieving revision 1.91.4.2
diff -u -d -r1.91.4.1 -r1.91.4.2
--- xrpc_server.mx 9 Dec 2009 13:59:03 -0000 1.91.4.1
+++ xrpc_server.mx 4 Jan 2010 15:15:42 -0000 1.91.4.2
@@ -656,7 +656,7 @@
if (*p != ' ' && *p != '\t' && *p != '\n') break;
if (*p == '\'' || *p == '\"') {
char *q = strchr(p+1, *p);
- if (*q) { *q = 0; mode = p+1; }
+ if (q) { *q = 0; mode = p+1; }
}
}
msg = strchr(msg, '<');
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins