summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-03-11 06:53:10 +0000
committerAndrew Tridgell <tridge@samba.org>2003-03-11 06:53:10 +0000
commit191b44b91c628d2647a1e1355508c2eafa59535f (patch)
treee054a93a180534d46d0d4babe63b1f21aaceb655 /source3
parentc13990277f1ab2e6810ada193caa720f6e71f087 (diff)
downloadsamba-191b44b91c628d2647a1e1355508c2eafa59535f.tar.gz
samba-191b44b91c628d2647a1e1355508c2eafa59535f.tar.bz2
samba-191b44b91c628d2647a1e1355508c2eafa59535f.zip
fixed the MANGLE smbtorture test with the new paranoid string code
(This used to be commit 7be44dbe009a8d831c0720a2649fc871b067beef)
Diffstat (limited to 'source3')
-rw-r--r--source3/torture/mangle_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/mangle_test.c b/source3/torture/mangle_test.c
index 86030027ba..d1475eb64e 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 */