From 191b44b91c628d2647a1e1355508c2eafa59535f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 11 Mar 2003 06:53:10 +0000 Subject: [PATCH] fixed the MANGLE smbtorture test with the new paranoid string code (This used to be commit 7be44dbe009a8d831c0720a2649fc871b067beef) --- source3/torture/mangle_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/torture/mangle_test.c b/source3/torture/mangle_test.c index 86030027ba0..d1475eb64e9 100644 --- a/source3/torture/mangle_test.c +++ b/source3/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 */ -- 2.34.1