From aa8d1d648e40d6db1e27e029aefa57e61154f43f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 10 Mar 2025 12:09:00 +0100 Subject: [PATCH] socks: remove bad assert from do_SOCKS5() It verified the auth bits wrongly. We don't need this assert anymore since the input is verified in *setopt(). Bug: https://issues.oss-fuzz.com/issues/401869346 Closes #16650 --- lib/socks.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/socks.c b/lib/socks.c index 30a73112c3..cb198df1ce 100644 --- a/lib/socks.c +++ b/lib/socks.c @@ -590,7 +590,6 @@ static CURLproxycode do_SOCKS5(struct Curl_cfilter *cf, bool allow_gssapi = FALSE; struct Curl_dns_entry *dns = NULL; - DEBUGASSERT(auth & (CURLAUTH_BASIC | CURLAUTH_GSSAPI)); switch(sx->state) { case CONNECT_SOCKS_INIT: if(conn->bits.httpproxy) -- 2.47.3