1 diff --git a/contrib/awk20100523/run.c b/contrib/awk20100523/run.c
2 index 88e0f8f..8db0af3 100644
3 --- a/contrib/awk20100523/run.c
4 +++ b/contrib/awk20100523/run.c
5 @@ -1152,13 +1152,13 @@ Cell *cat(Node **a, int q) /* a[0] cat a[1] */
9 - n2 = strlen(y->sval);
10 - s = (char *) malloc(n1 + n2 + 1);
11 + n2 = strlen(y->sval) + 1;
12 + s = (char *) malloc(n1 + n2);
14 FATAL("out of space concatenating %.15s... and %.15s...",
17 - strcpy(s+n1, y->sval);
18 + memmove(s, x->sval, n1);
19 + memmove(s+n1, y->sval, n2);