1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

s3:smbd/aio: handle_aio_completed() should do nothing if aio_ex->fsp is NULL

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Nov 15 18:47:55 CET 2011 on sn-devel-104
This commit is contained in:
Stefan Metzmacher 2011-11-14 09:54:05 +01:00
parent 21eb1450cc
commit 31cd1fbd2b

View File

@ -871,6 +871,11 @@ static bool handle_aio_completed(struct aio_extra *aio_ex, int *perr)
return false;
}
if (!aio_ex->fsp) {
DEBUG(3, ("handle_aio_completed: aio_ex->fsp == NULL\n"));
return false;
}
fsp = aio_ex->fsp;
/* Ensure the operation has really completed. */