git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97d0b8b
)
s4:torture: add a check for talloc success in rpc.samba3.randomauth2
author
Michael Adam
<obnox@samba.org>
Fri, 27 Apr 2012 22:35:56 +0000
(
00:35
+0200)
committer
Michael Adam
<obnox@samba.org>
Sat, 28 Apr 2012 00:10:38 +0000
(
02:10
+0200)
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Sat Apr 28 02:10:39 CEST 2012 on sn-devel-104
source4/torture/rpc/samba3rpc.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/samba3rpc.c
b/source4/torture/rpc/samba3rpc.c
index 846b1f1f3b8d44c0fb27f1013c8e2b8706f358c7..5c2dff78379d0d421ee384439ab42ee6bcdab112 100644
(file)
--- a/
source4/torture/rpc/samba3rpc.c
+++ b/
source4/torture/rpc/samba3rpc.c
@@
-2142,7
+2142,7
@@
static bool torture_samba3_rpc_randomauth2(struct torture_context *torture)
r.in.credentials,
r.out.return_credentials, &mach_pw,
&netr_cred, negotiate_flags);
-
+ torture_assert(torture, (creds_state != NULL), "memory allocation failed");
status = dcerpc_netr_ServerAuthenticate2_r(net_handle, mem_ctx, &a);
if (!NT_STATUS_IS_OK(status)) {