Changeset: 6bf20a9b9dfb for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/6bf20a9b9dfb
Modified Files:
        tools/merovingian/daemon/controlrunner.c
Branch: default
Log Message:

Slightly increase buffer size so that gcc doesn't complain on Ubuntu 20.04.


diffs (21 lines):

diff --git a/tools/merovingian/daemon/controlrunner.c 
b/tools/merovingian/daemon/controlrunner.c
--- a/tools/merovingian/daemon/controlrunner.c
+++ b/tools/merovingian/daemon/controlrunner.c
@@ -237,7 +237,7 @@ static void ctl_handle_client(
         * going to handle the traffic and negotiations, instead of the
         * client thread that just goes inside this program here. */
        char buf[8096];
-       char buf2[8096];
+       char buf2[8096 + 50];
        char *p, *q;
        sabdb *stats;
        int pos = 0;
@@ -456,7 +456,7 @@ static void ctl_handle_client(
                                                         * on failure */
                                                        char *err;
                                                        char *sadbfarm;
-                                                       char buf3[8092];
+                                                       char buf3[8092+50];
 
                                                        close(pipes[1]);
                                                        dup2(pipes[0], 0);
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to