From: Daniel Stenberg Date: Mon, 1 Dec 2025 10:00:47 +0000 (+0100) Subject: http: acknowledge OOM errors from Curl_input_ntlm X-Git-Tag: rc-8_18_0-1~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6c4a99300bebdd3fd5a6af9ebca0053e3cbc8f7;p=thirdparty%2Fcurl.git http: acknowledge OOM errors from Curl_input_ntlm Closes #19781 --- diff --git a/lib/http.c b/lib/http.c index 5e2b8f9ac0..fcae0a57c2 100644 --- a/lib/http.c +++ b/lib/http.c @@ -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; }