s3-smb2_server: fix ioctl InputOffset checking
commitcafccb0b10d69ae30fedd0a201570c3568168f3c
authorDavid Disseldorp <ddiss@suse.de>
Wed, 28 Sep 2011 12:45:42 +0000 (28 14:45 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 12 Oct 2011 19:00:00 +0000 (12 21:00 +0200)
tree4cf857f9973d31a176c59e5bad2b4253f8b486c3
parent3951757228f8ea4bc78a4a625f304b17ae65ed51
s3-smb2_server: fix ioctl InputOffset checking

Currently the InputOffset is always check to point to the input data
buffer, regardless of whether input data is present.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit dbcd59f46b0d2125dfb6eb82b3d92be228c6ae4b)

The last 22 patches addres bug #8520 (Fix SMB2 SMB2_OP_GETINFO and
SMB2_OP_IOCTL parsing requirements).
(cherry picked from commit 18d7c0cd25b1fe09a361a332a9191c92bb5a315e)
source3/smbd/smb2_ioctl.c