diff options
author | Jeremy Allison <jra@samba.org> | 2006-12-23 00:17:15 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:16:41 -0500 |
commit | ad325a7905ada39d2fa6093880113dc834b56a43 (patch) | |
tree | 5f4980ca96cdaf1afdf2c5aabc4f18d75f4c5870 /source3/nsswitch/winbindd_ads.c | |
parent | 698877885047db370429ac7311e118512145334b (diff) | |
download | samba-ad325a7905ada39d2fa6093880113dc834b56a43.tar.gz samba-ad325a7905ada39d2fa6093880113dc834b56a43.tar.bz2 samba-ad325a7905ada39d2fa6093880113dc834b56a43.zip |
r20329: Fix a winbindd crash bug. If someone pulls
the network cable out of the machine *exactly*
after the init_dc_connect() call in cm_connect_sam()
or cm_connect_lsa() call succeeded but before any
of the other calls fail, and they have debug level
10 set in the log, then we'd crash due to dereferencing
a now NULL pointer (conn->cli gets set to NULL when
the init_dc_connect() call called from cm_get_schannel_dcinfo()
fails). Yes, before you ask this *did* happen on a
customer site :-).
Jeremy.
(This used to be commit a0278a0cb062500ba97e237d02f55855b68719ec)
Diffstat (limited to 'source3/nsswitch/winbindd_ads.c')
0 files changed, 0 insertions, 0 deletions