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