summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-08-01 20:41:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:30:16 -0500
commit67de5725bc28129fa942c7d014c9722d0e906dea (patch)
treedba691a4ac6f7d5cbec918a9fb52dced010712e8 /source4
parent1f467c50d945a24d2885e5bb894676a26f94b86e (diff)
downloadsamba-67de5725bc28129fa942c7d014c9722d0e906dea.tar.gz
samba-67de5725bc28129fa942c7d014c9722d0e906dea.tar.bz2
samba-67de5725bc28129fa942c7d014c9722d0e906dea.zip
r8895: work around broken glibc strrchr function that gives valgrind errors on some boxes
(This used to be commit 5079fdea1b4fde4f844713f42e678759324d801d)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/basic/mangle_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/basic/mangle_test.c b/source4/torture/basic/mangle_test.c
index 3ea2644d1a..9097a9328b 100644
--- a/source4/torture/basic/mangle_test.c
+++ b/source4/torture/basic/mangle_test.c
@@ -177,6 +177,8 @@ BOOL torture_mangle(void)
for (i=0;i<torture_numops;i++) {
fstring name;
+ ZERO_STRUCT(name);
+
gen_name(name);
if (!test_one(cli, name)) {