]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cfilters: remove assert
authorDaniel Stenberg <daniel@haxx.se>
Mon, 28 Apr 2025 15:05:14 +0000 (17:05 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 28 Apr 2025 20:45:41 +0000 (22:45 +0200)
The OSS-fuzz probe reaches this, so it can apparently in run-time. There
is already a run-time handling of the situation.

Closes #17211

lib/cfilters.c

index 4062b0dec4711f2f561b5b6b801fe3b75d1c043c..291bdfa4d9f5dc63df8640375aea43e6a7d4245d 100644 (file)
@@ -415,7 +415,6 @@ CURLcode Curl_conn_connect(struct Curl_easy *data,
   DEBUGASSERT(data->conn);
 
   cf = data->conn->cfilter[sockindex];
-  DEBUGASSERT(cf);
   if(!cf) {
     *done = FALSE;
     return CURLE_FAILED_INIT;