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)
commit33789111241a1d97fc105ec4edd7b8054895b28c
treea27fd3f33c2d34802446a5e9139ec004cd773d73
parent60c93b9777d9bd7dce89f9024ba767f5404ac72d
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
source/smbd/service_stream.c