git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67126ed
)
s3: Fix a panic in aio_pthread
author
Volker Lendecke
<vl@samba.org>
Wed, 25 Jan 2012 15:43:49 +0000
(16:43 +0100)
committer
Volker Lendecke
<vlendec@samba.org>
Wed, 25 Jan 2012 17:22:37 +0000
(18:22 +0100)
Found by Nir Drang <nir@fabrix.tv>
Thanks!
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Jan 25 18:22:37 CET 2012 on sn-devel-104
source3/modules/vfs_aio_pthread.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_aio_pthread.c
b/source3/modules/vfs_aio_pthread.c
index aeacf2895eb4374fead09f374e7167f81bea56eb..e1cc492bb5f89b0489996f9ebd2f8d62d3f8eb67 100644
(file)
--- a/
source3/modules/vfs_aio_pthread.c
+++ b/
source3/modules/vfs_aio_pthread.c
@@
-458,7
+458,7
@@
static void aio_pthread_handle_suspend_completion(struct event_context *event_ct
}
pjobid = talloc_array(NULL, int, 1);
- if (pjobid) {
+ if (pjobid
== NULL
) {
smb_panic("aio_pthread_handle_suspend_completion: no memory.");
}