summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_ads.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-12-23 00:17:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:41 -0500
commitad325a7905ada39d2fa6093880113dc834b56a43 (patch)
tree5f4980ca96cdaf1afdf2c5aabc4f18d75f4c5870 /source3/nsswitch/winbindd_ads.c
parent698877885047db370429ac7311e118512145334b (diff)
downloadsamba-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