git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b0690f
)
s3: Fix Coverity ID 703871 Unused pointer value
author
Volker Lendecke
<vl@samba.org>
Mon, 11 Jun 2012 08:59:23 +0000
(10:59 +0200)
committer
Jeremy Allison
<jra@samba.org>
Mon, 11 Jun 2012 21:54:37 +0000
(14:54 -0700)
Signed-off-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_aio_fork.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_aio_fork.c
b/source3/modules/vfs_aio_fork.c
index f3e8f7fda173422985a08ecaa40c09c9dab4f160..f68befbf31e4d6d83b2a261fb512dc314c8f2c11 100644
(file)
--- a/
source3/modules/vfs_aio_fork.c
+++ b/
source3/modules/vfs_aio_fork.c
@@
-861,6
+861,10
@@
static int aio_fork_suspend(struct vfs_handle_struct *handle,
EVENT_FD_READ,
handle_aio_completion,
child);
+ if (event == NULL) {
+ errno = ENOMEM;
+ goto out;
+ }
child->called_from_suspend = true;