git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d24fa6
)
torture: Make sure we don't overrun the buffer.
author
Andreas Schneider
<asn@samba.org>
Tue, 19 Feb 2013 17:19:12 +0000
(18:19 +0100)
committer
Alexander Bokovoy
<ab@samba.org>
Fri, 22 Feb 2013 15:36:13 +0000
(16:36 +0100)
Reviewed-by: Alexander Bokovoy <ab@samba.org>
source4/torture/smb2/dir.c
patch
|
blob
|
history
diff --git
a/source4/torture/smb2/dir.c
b/source4/torture/smb2/dir.c
index 8cf0e1f35c17e8afad4567636b4e9bd62719d4e3..9cb85d7d57098ba5d3a073de4b885e78133bdd18 100644
(file)
--- 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[70
0
] = {};
+ struct file_elem files[70
2
] = {};
NTSTATUS status;
bool ret = true;
int i;