]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
http: acknowledge OOM errors from Curl_input_ntlm
authorDaniel Stenberg <daniel@haxx.se>
Mon, 1 Dec 2025 10:00:47 +0000 (11:00 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 1 Dec 2025 11:47:57 +0000 (12:47 +0100)
Closes #19781

lib/http.c

index 5e2b8f9ac013b20129e0a99d6966f950d9430c1b..fcae0a57c25c7e8f3654e46cc00fff737f5f31b7 100644 (file)
@@ -946,6 +946,8 @@ static CURLcode auth_ntlm(struct Curl_easy *data,
       if(!result)
         data->state.authproblem = FALSE;
       else {
+        if(result == CURLE_OUT_OF_MEMORY)
+          return result;
         infof(data, "NTLM authentication problem, ignoring.");
         data->state.authproblem = TRUE;
       }