svn commit: samba r16369 - in branches/SAMBA_3_0/source/rpc_parse: .

jra at samba.org jra at samba.org
Mon Jun 19 21:47:47 GMT 2006


Author: jra
Date: 2006-06-19 21:47:46 +0000 (Mon, 19 Jun 2006)
New Revision: 16369

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16369

Log:
Klocwork #1035.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/rpc_parse/parse_lsa.c


Changeset:
Modified: branches/SAMBA_3_0/source/rpc_parse/parse_lsa.c
===================================================================
--- branches/SAMBA_3_0/source/rpc_parse/parse_lsa.c	2006-06-19 21:47:40 UTC (rev 16368)
+++ branches/SAMBA_3_0/source/rpc_parse/parse_lsa.c	2006-06-19 21:47:46 UTC (rev 16369)
@@ -738,6 +738,9 @@
 
 		if (UNMARSHALLING(ps)) {
 			d_q->auditsettings = TALLOC_ZERO_ARRAY(ps->mem_ctx, uint32, d_q->count2);
+			if (!d_q->auditsettings) {
+				return False;
+			}
 		}
 
 		if (!prs_uint32s(False, "auditsettings", ps, depth, d_q->auditsettings, d_q->count2))



More information about the samba-cvs mailing list