← Commit list

6550dd0f3d

Daniel Stenberg
Daniel Stenberg
2025-10-19
SUCCESS Duration: 509s

Subject

wolfssl: clear variable to avoid uninitialized use

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/vtls/wolfssl.c+1 -1
@@ -357,7 +357,7 @@ static int wssl_bio_cf_in_read(WOLFSSL_BIO *bio, char *buf, int blen)
struct ssl_connect_data *connssl = cf->ctx;
struct wssl_ctx *wssl = (struct wssl_ctx *)connssl->backend;
struct Curl_easy *data = CF_DATA_CURRENT(cf);
- size_t nread;
+ size_t nread = 0;
CURLcode result = CURLE_OK;
DEBUGASSERT(data);