From: Daniel Stenberg Date: Mon, 1 Dec 2025 09:24:32 +0000 (+0100) Subject: http: handle oom error from Curl_input_digest() X-Git-Tag: rc-8_18_0-1~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=729316a9e4aed66c3ca90435e2c7f4052dac32f9;p=thirdparty%2Fcurl.git http: handle oom error from Curl_input_digest() Closes #19780 --- diff --git a/lib/http.c b/lib/http.c index f09d96ee06..5e2b8f9ac0 100644 --- a/lib/http.c +++ b/lib/http.c @@ -976,6 +976,8 @@ static CURLcode auth_digest(struct Curl_easy *data, * Digest */ result = Curl_input_digest(data, proxy, auth); if(result) { + if(result == CURLE_OUT_OF_MEMORY) + return result; infof(data, "Digest authentication problem, ignoring."); data->state.authproblem = TRUE; }