Fix bug #9104 - winbindd can mis-identify idle clients - can cause crashes and NDR...
authorHerb Lewis <hlewis@panasas.com>
Mon, 20 Aug 2012 23:03:28 +0000 (16:03 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 23 Aug 2012 18:18:05 +0000 (20:18 +0200)
commit36dc8a0f40a38d9c03570856cb4c843b74c1c7bd
tree1d73eaa8dc785dadb22c63d0cb0b9aced14462f6
parente01df21a5dbe8f3d401d58de6cffa4d4ba340a24
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).
source3/winbindd/winbindd.c