svn commit: samba r19399 - in branches/SAMBA_3_0/source/nsswitch: .
jra at samba.org
jra at samba.org
Wed Oct 18 21:24:21 GMT 2006
Author: jra
Date: 2006-10-18 21:24:20 +0000 (Wed, 18 Oct 2006)
New Revision: 19399
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19399
Log:
Now Guenther discovered one crash dereferencing domain->backends,
get paranoid. I don't think this can really happen, but let's be
sure.
Jeremy.
Modified:
branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c
Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c 2006-10-18 21:21:28 UTC (rev 19398)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c 2006-10-18 21:24:20 UTC (rev 19399)
@@ -1124,7 +1124,7 @@
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,
More information about the samba-cvs
mailing list