smb2_ioctl: return BUFFER_TOO_SMALL in smbd_smb2_request_ioctl_done()
commitaab540503434817cc6b2de1d9c507f9d0b3ad980
authorStefan Metzmacher <metze@samba.org>
Wed, 15 Sep 2021 18:26:58 +0000 (15 20:26 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 1 Dec 2021 11:04:29 +0000 (1 11:04 +0000)
treebaf85a8c63560417581ea69e279eb7b5839dac45
parentb3212b359edb78d4c60fed377fa18478c8e75d9a
smb2_ioctl: return BUFFER_TOO_SMALL in smbd_smb2_request_ioctl_done()

We should not send more data than the client requested.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
selftest/knownfail.d/smb2.ioctl.bug14788 [deleted file]
source3/smbd/smb2_ioctl.c