diff options
author | Simon Rettberg | 2016-11-25 16:18:24 +0100 |
---|---|---|
committer | Simon Rettberg | 2016-11-25 16:18:24 +0100 |
commit | 601754cc68746ce65cb60cea4cc2ed111d078a5c (patch) | |
tree | 9540d1c41091b9d1a1667343b6e43be42b414a16 | |
parent | Configurable name of homeDirectory attribute (diff) | |
download | ldadp-601754cc68746ce65cb60cea4cc2ed111d078a5c.tar.gz ldadp-601754cc68746ce65cb60cea4cc2ed111d078a5c.tar.xz ldadp-601754cc68746ce65cb60cea4cc2ed111d078a5c.zip |
Fix uninitialized variable use
-rw-r--r-- | proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |