svn commit: samba r14080 - in branches/SAMBA_3_0/source/rpc_parse: .
jra at samba.org
jra at samba.org
Thu Mar 9 17:56:17 GMT 2006
Author: jra
Date: 2006-03-09 17:56:16 +0000 (Thu, 09 Mar 2006)
New Revision: 14080
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14080
Log:
Fix Coverity bug #18. Ensure non-null before ref.
Jeremy.
Modified:
branches/SAMBA_3_0/source/rpc_parse/parse_spoolss.c
Changeset:
Modified: branches/SAMBA_3_0/source/rpc_parse/parse_spoolss.c
===================================================================
--- branches/SAMBA_3_0/source/rpc_parse/parse_spoolss.c 2006-03-09 17:48:41 UTC (rev 14079)
+++ branches/SAMBA_3_0/source/rpc_parse/parse_spoolss.c 2006-03-09 17:56:16 UTC (rev 14080)
@@ -937,7 +937,7 @@
{
DEBUG(5,("make_spoolss_q_addprinterex\n"));
- if (!ctr)
+ if (!ctr || !ctr->printers_2)
return False;
ZERO_STRUCTP(q_u);
More information about the samba-cvs
mailing list