s3:smb2_server: avoid segfault in smbd_smb2_request_pending_queue()
commit9249871f40aab021d62d3154f8ca286b52f5ef76
authorStefan Metzmacher <metze@samba.org>
Thu, 20 Sep 2012 14:04:01 +0000 (20 16:04 +0200)
committerMichael Adam <obnox@samba.org>
Sat, 22 Sep 2012 08:18:58 +0000 (22 10:18 +0200)
treed42f039f4c6da88240d8152daf2c46f5dd0074af
parent25437df8a65e56616499dda18c696f58be08f67a
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>
source3/smbd/smb2_server.c