s3: smbd: Don't overwrite contents of fsp->aio_requests[0] with NULL via TALLOC_FREE().
commitdcce5e5bf679e8d9afeb9bb9455da2c98b3ae7b2
authorJeremy Allison <jra@samba.org>
Sun, 27 Sep 2020 05:14:33 +0000 (26 22:14 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 19 Nov 2020 12:39:01 +0000 (19 12:39 +0000)
treea831236bf673bbb53c143111c977e78e71ad299b
parent4873f377e75d5104b4ca2afbc36783b850463eb0
s3: smbd: Don't overwrite contents of fsp->aio_requests[0] with NULL via TALLOC_FREE().

They may have been carefully set by the aio_del_req_from_fsp()
destructor so we must not overwrite here.

Found via some *amazing* debugging work from Ashok Ramakrishnan <aramakrishnan@nasuni.com>.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14515

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Sep 30 11:18:43 UTC 2020 on sn-devel-184

(cherry picked from commit fca8cb63762faff54cda243c1ed8217b36333131)
source3/smbd/close.c