mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r15759: samba4 currently only supports read sizes up to with UINT16_MAX
metze
(This used to be commit 05ced31cb9
)
This commit is contained in:
parent
49012954d0
commit
f9ddc0dde5
@ -77,6 +77,8 @@ static NTSTATUS torture_smb2_write(struct smb2_tree *tree, struct smb2_handle ha
|
||||
|
||||
if (lp_parm_bool(-1, "torture", "dangerous", False)) {
|
||||
data = data_blob_talloc(tree, NULL, 160000);
|
||||
} else if (lp_parm_bool(-1, "target", "samba4", False)) {
|
||||
data = data_blob_talloc(tree, NULL, UINT16_MAX);
|
||||
} else {
|
||||
data = data_blob_talloc(tree, NULL, 120000);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user