← Commit list

eeff93013c

Daniel Stenberg
Daniel Stenberg
2025-11-16
SUCCESS Duration: 148s

Subject

rustls: minor adjustment of sizeof()

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/rustls.c+1 -1
@@ -586,7 +586,7 @@ init_config_builder(struct Curl_easy *data,
}
#endif /* USE_ECH */
- cipher_suites = malloc(sizeof(cipher_suites) * (cipher_suites_len));
+ cipher_suites = malloc(sizeof(*cipher_suites) * (cipher_suites_len));
if(!cipher_suites) {
result = CURLE_OUT_OF_MEMORY;
goto cleanup;