summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-02-08 09:10:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:44:50 -0500
commit03640456e6421d7ff409cd33c811d419f3c94a72 (patch)
tree0f8d091358be2bda4a975cb1a23f05fd8e5fe2b9 /source4/torture/rpc
parent1cd412aa19b1c0185097bb91a68d9f7146d3c290 (diff)
downloadsamba-03640456e6421d7ff409cd33c811d419f3c94a72.tar.gz
samba-03640456e6421d7ff409cd33c811d419f3c94a72.tar.bz2
samba-03640456e6421d7ff409cd33c811d419f3c94a72.zip
r21235: fix crash bug
metze (This used to be commit 29c44957a0ea16af3e5e3717d2cb0c9180d394c2)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/dssync.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/rpc/dssync.c b/source4/torture/rpc/dssync.c
index b86b746816..90fe2bcfe1 100644
--- a/source4/torture/rpc/dssync.c
+++ b/source4/torture/rpc/dssync.c
@@ -485,7 +485,9 @@ static BOOL test_FetchData(struct DsSyncTest *ctx)
printf("Dumping AD partition: %s\n", nc.dn);
for (y=0; ;y++) {
+ int32_t _level = 0;
ZERO_STRUCT(r.out);
+ r.out.level = &_level;
if (*r.in.level == 5) {
DEBUG(0,("start[%d] tmp_higest_usn: %llu , highest_usn: %llu\n",y,