summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-03-30 10:57:51 -0700
committerJeremy Allison <jra@samba.org>2012-03-30 21:26:07 +0200
commitd49743443425d874d88fe069acc91dbd5135f0e4 (patch)
tree0b3215c220348c2f86d6892469785ea940d5ea44 /source3/torture
parent959516d61bc6ee7cdd12409dde0ec00044208f1b (diff)
downloadsamba-d49743443425d874d88fe069acc91dbd5135f0e4.tar.gz
samba-d49743443425d874d88fe069acc91dbd5135f0e4.tar.bz2
samba-d49743443425d874d88fe069acc91dbd5135f0e4.zip
Who would have guessed - checking returns from strlcat found a memory overwrite bug :-).
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/torture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index b0c74e2f37..1e9e59b280 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -7315,7 +7315,7 @@ static bool run_shortname_test(int dummy)
bool correct = True;
int i;
struct sn_state s;
- char fname[20];
+ char fname[40];
NTSTATUS status;
printf("starting shortname test\n");