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:
parent
1d24fa6919
commit
e762858a05
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user