git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5afaa37
)
r19399: Now Guenther discovered one crash dereferencing domain->backends,
author
Jeremy Allison
<jra@samba.org>
Wed, 18 Oct 2006 21:24:20 +0000
(21:24 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:15:33 +0000
(12:15 -0500)
get paranoid. I don't think this can really happen, but let's be
sure.
Jeremy.
(This used to be commit
be4709984b8548abf10a5e9fabba21d53440c42a
)
source3/nsswitch/winbindd_cache.c
patch
|
blob
|
history
diff --git
a/source3/nsswitch/winbindd_cache.c
b/source3/nsswitch/winbindd_cache.c
index cf161c11b6fb1efc02132db62379bd15356b4d38..baaa5826bbd12066b6c12adfe45b98290b78ea07 100644
(file)
--- a/
source3/nsswitch/winbindd_cache.c
+++ b/
source3/nsswitch/winbindd_cache.c
@@
-1124,7
+1124,7
@@
do_query:
centry_put_string(centry, (*info)[i].shell);
centry_put_sid(centry, &(*info)[i].user_sid);
centry_put_sid(centry, &(*info)[i].group_sid);
- if (domain->backend->consistent) {
+ if (domain->backend
&& domain->backend
->consistent) {
/* when the backend is consistent we can pre-prime some mappings */
wcache_save_name_to_sid(domain, NT_STATUS_OK,
domain->name,