Fix segfault caused by talloc_free() being called while still processing
authorAndrew Bartlett <abartlet@samba.org>
Thu, 19 Jun 2008 07:59:57 +0000 (17:59 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 19 Jun 2008 07:59:57 +0000 (17:59 +1000)
commit00bde569b79f76ebfc203fe340668de135761dc0
treec20062e96015ef1338bb408779d1f97c1f205b47
parent48100ca5c6ccfda390ca7804ddbb6726e8631428
Fix segfault caused by talloc_free() being called while still processing

The problem here was that with the packet code set to serialise, we
can have multiple packets 'processing' at once, and previously the
second packet (allowed because we are spining on an event context down
the stack) would clear the flag.

Andrew Bartlett
(This used to be commit 33789111241a1d97fc105ec4edd7b8054895b28c)
source4/smbd/service_stream.c