s3:smb2_server: avoid segfault in smbd_smb2_request_pending_queue()
authorStefan Metzmacher <metze@samba.org>
Thu, 20 Sep 2012 14:04:01 +0000 (16:04 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 29 Oct 2012 09:05:38 +0000 (10:05 +0100)
commit4671cb47639c142424f9e0d159fb1120a053b685
tree6c87c66451d061efd2685f545af16bcf0712d02d
parent1f9e5e5b86a3d05ffa7ef871bcc519dec79f7f77
s3:smb2_server: avoid segfault in smbd_smb2_request_pending_queue()

Because we should not call smbd_smb2_request_error() on an
request that is still running.

If the subreq implementes a cancel function, this should
take care of triggering smbd_smb2_request_error.

metze

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 9249871f40aab021d62d3154f8ca286b52f5ef76)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit d7910716920a324e0bba962241dd9b362d38d2b2)
source3/smbd/smb2_server.c