diff options
author | Jeremy Allison <jra@samba.org> | 2008-10-08 11:39:32 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-10-08 11:39:32 -0700 |
commit | 14f835ba4b7e553d0cd75f3b311378c5c875e87c (patch) | |
tree | 8cc684817569631a8af4ece04d3e6776c22d4338 /source3/winbindd/idmap_util.c | |
parent | be63f86ce7029b0a4efbe1478cc16189b5d26aec (diff) | |
download | samba-14f835ba4b7e553d0cd75f3b311378c5c875e87c.tar.gz samba-14f835ba4b7e553d0cd75f3b311378c5c875e87c.tar.bz2 samba-14f835ba4b7e553d0cd75f3b311378c5c875e87c.zip |
Fix bug #5814 - Winbindd dumping core in a strange manner while doing "rescan_trusted_domain".
From analysis by hargagan <shargagan@novell.com> :
"The winbindd_child_died() is also getting called from process_loop() in case of
SIGCHLD signal. In this case it doesn't make the timeout_handler to NULL for
the first request. It then initiate a new request using
schedule_async_request() which installs a new timeout handler for the same
request. In such a case, for a badly unresponsive system both the timeout
handler can be called. For the first call the "private_data" will be cleared
and for another call the timeout handler will be detecting the double free. So,
for such a case as well, the winbindd_child_died() should make the
timeout_handler to NULL."
Jeremy.
Diffstat (limited to 'source3/winbindd/idmap_util.c')
0 files changed, 0 insertions, 0 deletions