blob: c2910140a7c0553ffe9b959c5eb25635a68b67c5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- 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,
|