From: Joshua Rogers Date: Sat, 18 Oct 2025 16:47:11 +0000 (+0800) Subject: openldap: do not pass newline to infof() X-Git-Tag: rc-8_17_0-3~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=023e453032a3b0d12c81b030f7935ac92e554011;p=thirdparty%2Fcurl.git openldap: do not pass newline to infof() Discovered by ZeroPath Closes #19120 --- diff --git a/lib/openldap.c b/lib/openldap.c index 1b26b6e1b4..d7eefaa677 100644 --- a/lib/openldap.c +++ b/lib/openldap.c @@ -746,7 +746,7 @@ static CURLcode oldap_state_mechs_resp(struct Curl_easy *data, case LDAP_RES_SEARCH_RESULT: switch(code) { case LDAP_SIZELIMIT_EXCEEDED: - infof(data, "Too many authentication mechanisms\n"); + infof(data, "Too many authentication mechanisms"); FALLTHROUGH(); case LDAP_SUCCESS: case LDAP_NO_RESULTS_RETURNED: