1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s4-smbtorture: fix segfault in RPC-EVENTLOG test.

Guenther
This commit is contained in:
Günther Deschner 2008-11-20 00:01:41 +01:00
parent f9d691d9d8
commit 54e832c171

View File

@ -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;