git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21eb145
)
s3:smbd/aio: handle_aio_completed() should do nothing if aio_ex->fsp is NULL
author
Stefan Metzmacher
<metze@samba.org>
Mon, 14 Nov 2011 08:54:05 +0000
(09:54 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 15 Nov 2011 17:47:55 +0000
(18:47 +0100)
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Nov 15 18:47:55 CET 2011 on sn-devel-104
source3/smbd/aio.c
patch
|
blob
|
history
diff --git
a/source3/smbd/aio.c
b/source3/smbd/aio.c
index 2e9359e5ae9f5427c09a43bbb1b436d05c84db5c..d367826acc2ac908e0b4c87d29167cc1fad065a8 100644
(file)
--- a/
source3/smbd/aio.c
+++ b/
source3/smbd/aio.c
@@
-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. */