mirror of
https://github.com/curl/curl.git
synced 2026-07-10 04:27:21 +03:00
doh: stricter HTTPS RNAME parsing
If any sublabel is longer than 63 octets, abort. This then also catches compression attempts. Verified in test 1658 Reported-by: netspacer.research Closes #22124
This commit is contained in:
parent
e8e3af2abb
commit
ab779d4e4a
3 changed files with 31 additions and 3 deletions
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
#ifdef USE_HTTPSRR
|
||||
|
||||
#define CURL_MAXLEN_host_name 253
|
||||
#define CURL_MAXLEN_HOST_NAME 253
|
||||
#define MAX_HTTPSRR_ALPNS 4
|
||||
|
||||
struct Curl_easy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue