smbd: Correctly return BUFFER_OVERFLOW in smb2_getinfo
authorVolker Lendecke <vl@samba.org>
Tue, 27 Aug 2013 09:37:34 +0000 (09:37 +0000)
committerJeremy Allison <jra@samba.org>
Wed, 28 Aug 2013 21:37:08 +0000 (23:37 +0200)
commit40f60024ca19e33cbbe9825b42692f386a8f1dd9
treea9d14846733b4409eb6ec87b9d42393d180b6bd5
parent91939614760837b2ac2c6bb8b5daac108a4f4670
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>
source3/smbd/smb2_getinfo.c