Fix bug #9104 - winbindd can mis-identify idle clients - can cause crashes and NDR...
authorHerb Lewis <hlewis@panasas.com>
Mon, 20 Aug 2012 21:51:28 +0000 (14:51 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 20 Aug 2012 23:31:46 +0000 (01:31 +0200)
commit21e67bdcee79b813ddb7b73f72a54b363db294d6
treeb8859fb54d9e1cfbd08d9db21ae33aa3a1778280
parent84d6e09b954548d90d996f3ef6ce89edcbef3c24
Fix bug #9104 - winbindd can mis-identify idle clients - can cause crashes and NDR parsing errors.

A connection is idle when both struct winbindd_cli_state->request AND
struct winbindd_cli_state->response are NULL. Otherwise we can flag
as idle a connection in the state of having sent the request to
the winbindd child (request != NULL) but not yet received a reply
(response == NULL).

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Aug 21 01:31:46 CEST 2012 on sn-devel-104
source3/winbindd/winbindd.c