]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
http: handle oom error from Curl_input_digest()
authorDaniel Stenberg <daniel@haxx.se>
Mon, 1 Dec 2025 09:24:32 +0000 (10:24 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 1 Dec 2025 09:47:33 +0000 (10:47 +0100)
Closes #19780

lib/http.c

index f09d96ee06074545210d8a2c0b32f92c27709c76..5e2b8f9ac013b20129e0a99d6966f950d9430c1b 100644 (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;
     }