Changeset: d9b60ae3323a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d9b60ae3323a
Modified Files:
        tools/merovingian/daemon/forkmserver.c
Branch: Oct2014
Log Message:

Make sure there is enough space in the array for all values.
Found by Coverity.


diffs (12 lines):

diff --git a/tools/merovingian/daemon/forkmserver.c 
b/tools/merovingian/daemon/forkmserver.c
--- a/tools/merovingian/daemon/forkmserver.c
+++ b/tools/merovingian/daemon/forkmserver.c
@@ -281,7 +281,7 @@ forkMserver(char *database, sabdb** stat
                char pipeline[512];
                char *readonly = NULL;
                char *embeddedr = NULL;
-               char *argv[24]; /* for the exec arguments */
+               char *argv[26]; /* for the exec arguments */
                int c = 0;
                unsigned int mport;
 
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to