1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

fixed the MANGLE smbtorture test with the new paranoid string code

This commit is contained in:
Andrew Tridgell 0001-01-01 00:00:00 +00:00
parent af415842b8
commit 7be44dbe00

View File

@ -135,7 +135,7 @@ static void gen_name(char *name)
/* and a medium probability of a common lead string */ /* and a medium probability of a common lead string */
if (random() % 10 == 0) { if (random() % 10 == 0) {
strncpy(p, "ABCDE", 5); strncpy(p, "ABCDE", 6);
} }
/* and a high probability of a good extension length */ /* and a high probability of a good extension length */