1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +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 */
if (random() % 10 == 0) {
strncpy(p, "ABCDE", 5);
strncpy(p, "ABCDE", 6);
}
/* and a high probability of a good extension length */