1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

torture: Make sure we don't overrun the buffer.

Reviewed-by: Alexander Bokovoy <ab@samba.org>
This commit is contained in:
Andreas Schneider 2013-02-19 18:19:12 +01:00 committed by Alexander Bokovoy
parent 1d24fa6919
commit e762858a05

View File

@ -891,7 +891,7 @@ static bool test_modify_search(struct torture_context *tctx,
struct smb2_handle h;
struct smb2_find f;
union smb_search_data *d;
struct file_elem files[700] = {};
struct file_elem files[702] = {};
NTSTATUS status;
bool ret = true;
int i;