git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17c354a
)
r14080: Fix Coverity bug #18. Ensure non-null before ref.
author
Jeremy Allison
<jra@samba.org>
Thu, 9 Mar 2006 17:56:16 +0000
(17:56 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:11:10 +0000
(11:11 -0500)
Jeremy.
(This used to be commit
617c5805e59dd601b8841251032e3db4d6a64621
)
source3/rpc_parse/parse_spoolss.c
patch
|
blob
|
history
diff --git
a/source3/rpc_parse/parse_spoolss.c
b/source3/rpc_parse/parse_spoolss.c
index f79731fea2edebb1a683ef669101512fe5cf8b76..bb33918a446d3dddd04c589fd02df40ebc1384b9 100644
(file)
--- a/
source3/rpc_parse/parse_spoolss.c
+++ b/
source3/rpc_parse/parse_spoolss.c
@@
-937,7
+937,7
@@
BOOL make_spoolss_q_addprinterex( TALLOC_CTX *mem_ctx, SPOOL_Q_ADDPRINTEREX *q_u
{
DEBUG(5,("make_spoolss_q_addprinterex\n"));
- if (!ctr)
+ if (!ctr
|| !ctr->printers_2
)
return False;
ZERO_STRUCTP(q_u);