Update of /cvsroot/monetdb/pathfinder/runtime
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv31194/runtime

Modified Files:
      Tag: M5XQ
        xrpc_server.mx 
Log Message:
propagated changes of Monday Jan 04 2010
from the XQFT branch to the M5XQ branch

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2010/01/04 - sjoerd: runtime/xrpc_server.mx,1.91.4.2
  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.89.2.3
retrieving revision 1.89.2.4
diff -u -d -r1.89.2.3 -r1.89.2.4
--- xrpc_server.mx      9 Dec 2009 14:26:12 -0000       1.89.2.3
+++ xrpc_server.mx      4 Jan 2010 15:22:18 -0000       1.89.2.4
@@ -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

Reply via email to