badwords: catch and fix more variants of NN-bit

Closes #20304
This commit is contained in:
Viktor Szakats 2026-01-11 14:50:27 +01:00
parent 60ab58a8a5
commit 4651d4c76b
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
20 changed files with 29 additions and 32 deletions

View file

@ -445,7 +445,7 @@ static CURLcode ws_dec_read_head(struct ws_decoder *dec,
break;
case 10:
if(dec->head[2] > 127) {
failf(data, "[WS] frame length longer than 63 bit not supported");
failf(data, "[WS] frame length longer than 63 bits not supported");
return CURLE_RECV_ERROR;
}
dec->payload_len =