svn commit: samba r14081 - in trunk/source/rpc_parse: .
jra at samba.org
jra at samba.org
Thu Mar 9 17:56:34 GMT 2006
Author: jra
Date: 2006-03-09 17:56:29 +0000 (Thu, 09 Mar 2006)
New Revision: 14081
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14081
Log:
Fix Coverity bug #18. Ensure non-null before ref.
Jeremy.
Modified:
trunk/source/rpc_parse/parse_spoolss.c
Changeset:
Modified: trunk/source/rpc_parse/parse_spoolss.c
===================================================================
--- trunk/source/rpc_parse/parse_spoolss.c 2006-03-09 17:56:16 UTC (rev 14080)
+++ trunk/source/rpc_parse/parse_spoolss.c 2006-03-09 17:56:29 UTC (rev 14081)
@@ -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