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:
252f813
)
lib: Fix CID 1128556 Dereference after null check
author
Volker Lendecke
<vl@samba.org>
Tue, 23 Jun 2015 09:06:02 +0000
(11:06 +0200)
committer
Jeremy Allison
<jra@samba.org>
Tue, 23 Jun 2015 20:12:09 +0000
(22:12 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/messages_ctdbd.c
patch
|
blob
|
history
diff --git
a/source3/lib/messages_ctdbd.c
b/source3/lib/messages_ctdbd.c
index b4f4d63c6dbad8746b6a15c9aed6ee550f6713a9..248fc0df7df9cff2247cc5f905ac5289cc3ca9c2 100644
(file)
--- a/
source3/lib/messages_ctdbd.c
+++ b/
source3/lib/messages_ctdbd.c
@@
-50,6
+50,7
@@
struct ctdbd_connection *messaging_ctdbd_connection(void)
ev = samba_tevent_context_init(NULL);
if (!ev) {
DEBUG(0,("samba_tevent_context_init failed\n"));
+ return NULL;
}
msg = messaging_init(NULL, ev);