From: Michael Adam Date: Fri, 27 Apr 2012 22:35:56 +0000 (+0200) Subject: s4:torture: add a check for talloc success in rpc.samba3.randomauth2 X-Git-Tag: samba-4.0.0alpha20~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12ee7933327e99c0a5db8c7b6273775a6fc9c8fd;p=thirdparty%2Fsamba.git s4:torture: add a check for talloc success in rpc.samba3.randomauth2 Autobuild-User: Michael Adam Autobuild-Date: Sat Apr 28 02:10:39 CEST 2012 on sn-devel-104 --- diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c index 846b1f1f3b8..5c2dff78379 100644 --- 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)) {