diff --git a/source/torture/mangle_test.c b/source/torture/mangle_test.c index 86030027ba0..d1475eb64e9 100644 --- a/source/torture/mangle_test.c +++ b/source/torture/mangle_test.c @@ -135,7 +135,7 @@ static void gen_name(char *name) /* and a medium probability of a common lead string */ if (random() % 10 == 0) { - strncpy(p, "ABCDE", 5); + strncpy(p, "ABCDE", 6); } /* and a high probability of a good extension length */