1
0
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:
Stefan Metzmacher 2006-05-20 19:00:53 +00:00 committed by Gerald (Jerry) Carter
parent 49012954d0
commit f9ddc0dde5

View File

@ -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);
}