summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2013-02-19 18:19:12 +0100
committerAlexander Bokovoy <ab@samba.org>2013-02-22 16:36:13 +0100
commite762858a054f865780e9f05f7896452a525890f4 (patch)
treea1beb3e2f484da1b3ab361af57c1f4f9fcddc237 /source4
parent1d24fa6919a4ff7588c20f1a0365fbfcfd404203 (diff)
downloadsamba-e762858a054f865780e9f05f7896452a525890f4.tar.gz
samba-e762858a054f865780e9f05f7896452a525890f4.tar.bz2
samba-e762858a054f865780e9f05f7896452a525890f4.zip
torture: Make sure we don't overrun the buffer.
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/smb2/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/smb2/dir.c b/source4/torture/smb2/dir.c
index 8cf0e1f35c..9cb85d7d57 100644
--- a/source4/torture/smb2/dir.c
+++ b/source4/torture/smb2/dir.c
@@ -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;