Avoid dangling pointer dereferences by resetting ioctx->scmnd in srpt_on_free_cmd().
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Mon, 30 Nov 2009 09:51:17 +0000 (09:51 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Mon, 30 Nov 2009 09:51:17 +0000 (09:51 +0000)
commit7fdd0cfd6679cae16cdce352d9e2d9a264b469d2
tree03e28687a7cabc5516859cf3b99bba8935ecd28f
parent38300ce74933a5cd46f7c3062682445ceeee9602
Avoid dangling pointer dereferences by resetting ioctx->scmnd in srpt_on_free_cmd().

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1371 d57e44dd-8a1f-0410-8b47-8ef2f437770f
srpt/src/ib_srpt.c