svn commit: samba r16585 - in branches/SAMBA_3_0/source/libmsrpc: .
jra at samba.org
jra at samba.org
Wed Jun 28 01:00:50 GMT 2006
Author: jra
Date: 2006-06-28 01:00:48 +0000 (Wed, 28 Jun 2006)
New Revision: 16585
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16585
Log:
Fix Klocwork #1976. Possible null deref.
Jeremy.
Modified:
branches/SAMBA_3_0/source/libmsrpc/cac_winreg.c
Changeset:
Modified: branches/SAMBA_3_0/source/libmsrpc/cac_winreg.c
===================================================================
--- branches/SAMBA_3_0/source/libmsrpc/cac_winreg.c 2006-06-28 01:00:44 UTC (rev 16584)
+++ branches/SAMBA_3_0/source/libmsrpc/cac_winreg.c 2006-06-28 01:00:48 UTC (rev 16585)
@@ -65,6 +65,7 @@
key = talloc(mem_ctx, POLICY_HND);
if(!key) {
hnd->status = NT_STATUS_NO_MEMORY;
+ return CAC_FAILURE;
}
err = rpccli_reg_connect( pipe_hnd, mem_ctx, op->in.root, op->in.access, key);
More information about the samba-cvs
mailing list