smbd: Correctly return INFO_LENGTH_MISMATCH for smb1
authorVolker Lendecke <vl@samba.org>
Tue, 27 Aug 2013 09:40:19 +0000 (09:40 +0000)
committerJeremy Allison <jra@samba.org>
Wed, 28 Aug 2013 21:37:08 +0000 (23:37 +0200)
commit1b1935b876a14154ef74e447bf53eb7cd0a5dde9
tree79443ffed2aa8da3e87152d4787fffa1edcc63f9
parent5634f240fd4273cb7327111140ccbea0fd41e3fc
smbd: Correctly return INFO_LENGTH_MISMATCH for smb1

This is required if the client offered less buffer than the fixed portion
of the info level data requires

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10106
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/trans2.c