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:
parent
6089b3007b
commit
be4709984b
@ -1124,7 +1124,7 @@ do_query:
|
|||||||
centry_put_string(centry, (*info)[i].shell);
|
centry_put_string(centry, (*info)[i].shell);
|
||||||
centry_put_sid(centry, &(*info)[i].user_sid);
|
centry_put_sid(centry, &(*info)[i].user_sid);
|
||||||
centry_put_sid(centry, &(*info)[i].group_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 */
|
/* when the backend is consistent we can pre-prime some mappings */
|
||||||
wcache_save_name_to_sid(domain, NT_STATUS_OK,
|
wcache_save_name_to_sid(domain, NT_STATUS_OK,
|
||||||
domain->name,
|
domain->name,
|
||||||
|
Loading…
Reference in New Issue
Block a user