Author: tridge
Date: 2005-08-01 20:41:48 +0000 (Mon, 01 Aug 2005)
New Revision: 8895

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8895

Log:
work around broken glibc strrchr function that gives valgrind errors on some 
boxes







Modified:
   branches/SAMBA_4_0/source/torture/basic/mangle_test.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/basic/mangle_test.c
===================================================================
--- branches/SAMBA_4_0/source/torture/basic/mangle_test.c       2005-08-01 
19:58:16 UTC (rev 8894)
+++ branches/SAMBA_4_0/source/torture/basic/mangle_test.c       2005-08-01 
20:41:48 UTC (rev 8895)
@@ -177,6 +177,8 @@
        for (i=0;i<torture_numops;i++) {
                fstring name;
 
+               ZERO_STRUCT(name);
+
                gen_name(name);
 
                if (!test_one(cli, name)) {

Reply via email to