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:50 +0000 (10:49 +0200)
commitf5dfa2ac931d52b4517f4e5e07cf9730e6939967
treec0f8a217546b5e0bef2ff21223cf425185dfddea
parent9818b31167531f41cbf08fccf89d60ca128c3d4d
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