mirror of
https://github.com/curl/curl.git
synced 2026-08-04 10:10:00 +03:00
Revert "cf-https-connect: silence clang-tidy v21 false positive"
This reverts commit 36e08e5e62.
This commit is contained in:
parent
e824d931f7
commit
a002f5c71b
12 changed files with 0 additions and 21 deletions
|
|
@ -411,7 +411,6 @@ static void unicodecpy(unsigned char *dest, const char *src, size_t length)
|
|||
{
|
||||
size_t i;
|
||||
for(i = 0; i < length; i++) {
|
||||
/* NOLINTNEXTLINE(clang-analyzer-security.ArrayBound) */
|
||||
dest[2 * i] = (unsigned char)src[i];
|
||||
dest[2 * i + 1] = '\0';
|
||||
}
|
||||
|
|
@ -833,7 +832,6 @@ CURLcode Curl_auth_create_ntlm_type3_message(struct Curl_easy *data,
|
|||
|
||||
DEBUGASSERT(size == hostoff);
|
||||
if(unicode)
|
||||
/* NOLINTNEXTLINE(clang-analyzer-security.ArrayBound) */
|
||||
unicodecpy(&ntlmbuf[size], host, hostlen / 2);
|
||||
else
|
||||
memcpy(&ntlmbuf[size], host, hostlen);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue