summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-05-15 18:25:03 +0000
committerJeremy Allison <jra@samba.org>2003-05-15 18:25:03 +0000
commita62a29c2df4314ff7791c0b33fe2aa9d051c0456 (patch)
tree8fe69cc65047f64c0f70e51edfd3fec8ca15711c
parent3ededa5f7bd8c039346841d7902b5344604a9d9a (diff)
downloadsamba-a62a29c2df4314ff7791c0b33fe2aa9d051c0456.tar.gz
samba-a62a29c2df4314ff7791c0b33fe2aa9d051c0456.tar.bz2
samba-a62a29c2df4314ff7791c0b33fe2aa9d051c0456.zip
Fix for winbindd segfault (finally I think this is the correct one :-)
from "Roylance, Stephen D." <SROYLANCE@PARTNERS.ORG>. Jeremy. (This used to be commit 459fb6519bc9bc9bbb151291ff795ecc0c014d63)
-rw-r--r--source3/nsswitch/winbindd_cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_cm.c b/source3/nsswitch/winbindd_cm.c
index 05ea317d18..b04d77ee2e 100644
--- a/source3/nsswitch/winbindd_cm.c
+++ b/source3/nsswitch/winbindd_cm.c
@@ -502,7 +502,7 @@ static NTSTATUS get_connection_from_cache(const char *domain, const char *pipe_n
{
find_cm_connection(domain, pipe_name, conn_out);
- if (conn_out != NULL)
+ if (*conn_out != NULL)
return NT_STATUS_OK;
return new_cm_connection(domain, pipe_name, conn_out);