]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
quiche: when ingress processing fails, return that error code
authorStefan Eissing <stefan@eissing.org>
Thu, 25 Sep 2025 11:17:48 +0000 (13:17 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 25 Sep 2025 12:17:39 +0000 (14:17 +0200)
Instead of a general CURLE_RECV_ERROR.

Reported in Joshua's sarif data

Closes #18730

lib/vquic/curl_quiche.c

index e096c63fe98f8d2738ac1ad037c0b755a4b5dfd8..5fb67f69f42c90f6cec1ebd7853b9f2a6072850d 100644 (file)
@@ -865,9 +865,9 @@ static CURLcode cf_quiche_recv(struct Curl_cfilter *cf, struct Curl_easy *data,
       goto out;
   }
 
-  if(cf_process_ingress(cf, data)) {
+  result = cf_process_ingress(cf, data);
+  if(result) {
     CURL_TRC_CF(data, cf, "cf_recv, error on ingress");
-    result = CURLE_RECV_ERROR;
     goto out;
   }