← Commit list

6c0772fd7f

Viktor Szakats
Viktor Szakats
2026-03-19
SUCCESS Duration: 252s

Subject

openssl: fix memory leaks in ECH code (OpenSSL 3)

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/openssl.c+3 -1
@@ -4136,7 +4136,9 @@ static void ossl_trace_ech_retry_configs(struct Curl_easy *data, SSL *ssl,
else
infof(data, "ECH: no retry_configs (rv = %d)", rv);
#ifndef HAVE_BORINGSSL_LIKE
- OPENSSL_free((void *)rcs);
+ OPENSSL_free(inner);
+ OPENSSL_free(rcs);
+ OPENSSL_free(outer);
#endif
return;
}