Jra bug 14301 1

Fix crashes when smbcontrol smbd close-share is called with outstanding asyncio requests. Returns NT_STATUS_INVALID_HANDLE to the client on every outstanding request when share is closed (and underlying fsp closed). As pending pthreads finish up they clean themselves up without disturbing the rest of the server.

Tested under valgrind with SMB1/2/3, with over 20+ outstanding requests. Rock solid ! :-).

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

Edited by Jeremy Allison

Merge request reports

Loading