]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
openldap: do not pass newline to infof()
authorJoshua Rogers <MegaManSec@users.noreply.github.com>
Sat, 18 Oct 2025 16:47:11 +0000 (00:47 +0800)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 18 Oct 2025 20:30:55 +0000 (22:30 +0200)
Discovered by ZeroPath
Closes #19120

lib/openldap.c

index 1b26b6e1b4d94a4c12d5712258e582687e6d13aa..d7eefaa6779538966749bf4acd728cc10b937697 100644 (file)
@@ -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: