--- tools/merovingian/client/monetdb.c.orig 2014-02-03 15:56:43.493060136 +0100 +++ tools/merovingian/client/monetdb.c 2014-02-03 15:58:52.276051225 +0100 @@ -1196,7 +1196,7 @@ for (stats = orig; stats != NULL; stats = stats->next) { if (type == INHERIT) { - strncat(property, "=", sizeof(property)); + strncat(property, "=", sizeof(property) - strlen(property) - 1); p = property; } out = control_send(&res, mero_host, mero_port,