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

@ -342,7 +342,7 @@ static CURLcode test_unit1658(const char *arg)
"h2"
"\x00\x03" /* RR (3 == PORT) */
"\x00\x03" /* data size */
"\x12\x34\x00", /* 24 bit port number! */
"\x12\x34\x00", /* 24-bit port number */
17,
"r:43|"
},
@ -356,7 +356,7 @@ static CURLcode test_unit1658(const char *arg)
"h2"
"\x00\x03" /* RR (3 == PORT) */
"\x00\x01" /* data size */
"\x12", /* 8 bit port number! */
"\x12", /* 8-bit port number */
15,
"r:43|"
},