git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8825274
)
s4:torture: add a check for talloc success in the rpc.samba3 suite
author
Michael Adam
<obnox@samba.org>
Fri, 27 Apr 2012 22:34:36 +0000
(
00:34
+0200)
committer
Michael Adam
<obnox@samba.org>
Fri, 27 Apr 2012 22:34:36 +0000
(
00:34
+0200)
source4/torture/rpc/samba3rpc.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/samba3rpc.c
b/source4/torture/rpc/samba3rpc.c
index 69cc00cb9aa7779d1dd9e61af6fdeb11062a853a..846b1f1f3b8d44c0fb27f1013c8e2b8706f358c7 100644
(file)
--- a/
source4/torture/rpc/samba3rpc.c
+++ b/
source4/torture/rpc/samba3rpc.c
@@
-1014,6
+1014,7
@@
static bool auth2(struct torture_context *tctx,
r.in.credentials,
r.out.return_credentials, &mach_pw,
&netr_cred, negotiate_flags);
+ torture_assert(tctx, (creds_state != NULL), "memory allocation failed");
status = dcerpc_netr_ServerAuthenticate2_r(net_handle, mem_ctx, &a);
if (!NT_STATUS_IS_OK(status)) {