http: handle oom error from Curl_input_digest()

Closes #19780
This commit is contained in:
Daniel Stenberg 2025-12-01 10:24:32 +01:00
parent cffc912844
commit 729316a9e4
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -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;
}