From a62a29c2df4314ff7791c0b33fe2aa9d051c0456 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 15 May 2003 18:25:03 +0000 Subject: Fix for winbindd segfault (finally I think this is the correct one :-) from "Roylance, Stephen D." . Jeremy. (This used to be commit 459fb6519bc9bc9bbb151291ff795ecc0c014d63) --- source3/nsswitch/winbindd_cm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/nsswitch/winbindd_cm.c') 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); -- cgit