smbd: Correctly return BUFFER_OVERFLOW in smb2_getinfo
authorVolker Lendecke <vl@samba.org>
Tue, 27 Aug 2013 09:37:34 +0000 (09:37 +0000)
committerKarolin Seeger <kseeger@samba.org>
Fri, 6 Sep 2013 08:49:27 +0000 (10:49 +0200)
commitaadd02d8c4f6a378a4aabb882287e4b0897cfe65
treee67caabf6a5165cc9a98b85ffcf07de193d31d21
parentcedcde95dd2e391fbdc720f5634f7aa7136aa8c0
smbd: Correctly return BUFFER_OVERFLOW in smb2_getinfo

Also, don't overflow the client buffer

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>
(cherry picked from commit 40f60024ca19e33cbbe9825b42692f386a8f1dd9)
source3/smbd/smb2_getinfo.c