git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c139902
)
fixed the MANGLE smbtorture test with the new paranoid string code
author
Andrew Tridgell
<tridge@samba.org>
Tue, 11 Mar 2003 06:53:10 +0000
(06:53 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 11 Mar 2003 06:53:10 +0000
(06:53 +0000)
(This used to be commit
7be44dbe009a8d831c0720a2649fc871b067beef
)
source3/torture/mangle_test.c
patch
|
blob
|
history
diff --git
a/source3/torture/mangle_test.c
b/source3/torture/mangle_test.c
index 86030027ba00f381cfc1ff4e314c4c4d3b54c115..d1475eb64e96c3dc2f91b3c3466aa6d8115b1b80 100644
(file)
--- a/
source3/torture/mangle_test.c
+++ b/
source3/torture/mangle_test.c
@@
-135,7
+135,7
@@
static void gen_name(char *name)
/* and a medium probability of a common lead string */
if (random() % 10 == 0) {
- strncpy(p, "ABCDE",
5
);
+ strncpy(p, "ABCDE",
6
);
}
/* and a high probability of a good extension length */