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:
parent
af415842b8
commit
7be44dbe00
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user