mirror of
https://github.com/curl/curl.git
synced 2026-04-14 21:31:42 +03:00
gtls: avoid potential use of uninitialized variable in trace output
Reported in Joshua's sarif data Closes #18620
This commit is contained in:
parent
58f071dbe4
commit
a0369e1705
1 changed files with 1 additions and 1 deletions
|
|
@ -2195,7 +2195,7 @@ static CURLcode gtls_recv(struct Curl_cfilter *cf,
|
|||
}
|
||||
|
||||
out:
|
||||
CURL_TRC_CF(data, cf, "gtls_recv(len=%zu) -> 0, %zu", blen, *pnread);
|
||||
CURL_TRC_CF(data, cf, "gtls_recv(len=%zu) -> 0, %zd", blen, nread);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue