s3:smbd: implement FSCTL_SMBTORTURE_GLOBAL_READ_RESPONSE_BODY_PADDING8
authorStefan Metzmacher <metze@samba.org>
Mon, 5 Jul 2021 15:49:00 +0000 (17:49 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 15 Jul 2021 23:04:34 +0000 (23:04 +0000)
commitef57fba5dbf359b204ba952451e1e33ed68f1c91
tree90144752c4d2da509860987eb5e524077f7e20b9
parent5ecac656fde4e81aa6e51e7b3134ea3fb75f564a
s3:smbd: implement FSCTL_SMBTORTURE_GLOBAL_READ_RESPONSE_BODY_PADDING8

This turns the 'smb2.read.bug14607' test from 'skip' into 'xfailure',
as the 2nd smb2cli_read() function will now return
NT_STATUS_INVALID_NETWORK_RESPONSE.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14607

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/knownfail.d/smb2-read-bug14607 [new file with mode: 0644]
source3/smbd/globals.h
source3/smbd/smb2_ioctl.c
source3/smbd/smb2_read.c