gtls: avoid potential use of uninitialized variable in trace output

Reported in Joshua's sarif data

Closes #18620
This commit is contained in:
Daniel Stenberg 2025-09-19 14:59:17 +02:00
parent 58f071dbe4
commit a0369e1705
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -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;
}