diff options
author | Günther Deschner <gd@samba.org> | 2008-11-20 00:01:41 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-11-20 00:47:18 +0100 |
commit | 54e832c171e7763483a5ad872b23c89496477767 (patch) | |
tree | f21b67d73b1e3eb7fa55c0d2706aa7c5fe6560da /source4 | |
parent | f9d691d9d808ec2f91f3f469fe2201b0909a8552 (diff) | |
download | samba-54e832c171e7763483a5ad872b23c89496477767.tar.gz samba-54e832c171e7763483a5ad872b23c89496477767.tar.bz2 samba-54e832c171e7763483a5ad872b23c89496477767.zip |
s4-smbtorture: fix segfault in RPC-EVENTLOG test.
Guenther
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/rpc/eventlog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/eventlog.c b/source4/torture/rpc/eventlog.c index d5665ad07d..31d91c056b 100644 --- a/source4/torture/rpc/eventlog.c +++ b/source4/torture/rpc/eventlog.c @@ -46,8 +46,8 @@ static bool get_policy_handle(struct torture_context *tctx, unknown0.unknown1 = 0x0001; r.in.unknown0 = &unknown0; - init_lsa_String(r.in.logname, "dns server"); - init_lsa_String(r.in.servername, NULL); + init_lsa_String(&logname, "dns server"); + init_lsa_String(&servername, NULL); r.in.logname = &logname; r.in.servername = &servername; r.in.unknown2 = 0x00000001; |