From 601754cc68746ce65cb60cea4cc2ed111d078a5c Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 25 Nov 2016 16:18:24 +0100 Subject: Fix uninitialized variable use --- proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy.c b/proxy.c index 786c1ed..dc11d26 100644 --- a/proxy.c +++ b/proxy.c @@ -967,7 +967,7 @@ static BOOL proxy_clientBindRequest(epoll_client_t *client, const unsigned long printf("[Client] Anonymous bind accepted\n"); bodyLen = fmt_ldapbindresponse(bufoff, success, "", "main screen turn on", ""); } else { - BOOL incorrect; + BOOL incorrect = FALSE; server_t *server = server_getFromBase(&name); if (server == NULL || (incorrect = (strncmp(password.s, "\x08\x0a\x0d\x7fINCORRECT", 13) == 0)) || isInt(&name, 0)) { // The INCORRECT part is some weird thing I saw pam_ldap do - probably to identify misconfigured -- cgit v1.2.3-55-g7522