1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r19399: Now Guenther discovered one crash dereferencing domain->backends,

get paranoid. I don't think this can really happen, but let's be
sure.
Jeremy.
This commit is contained in:
Jeremy Allison 2006-10-18 21:24:20 +00:00 committed by Gerald (Jerry) Carter
parent 6089b3007b
commit be4709984b

View File

@ -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,