[OpenSIPS-Devel] [OpenSIPS/opensips] d5d069: tls_wolfssl: fix memory leaks

Vlad Pătrașcu noreply at github.com
Fri Oct 8 15:52:44 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d5d069d37a1dddfff002337c5d39f2ad2d83b69e
      https://github.com/OpenSIPS/opensips/commit/d5d069d37a1dddfff002337c5d39f2ad2d83b69e
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2021-10-08 (Fri, 08 Oct 2021)

  Changed paths:
    M modules/tls_wolfssl/Makefile
    M modules/tls_wolfssl/wolfssl_conn_ops.c

  Log Message:
  -----------
  tls_wolfssl: fix memory leaks

Do not use the wolfSSL ECC Fixed Point cache as it is not freed until
library cleanup. Also, clear the error queue after each call to
wolfSSL_read().

Fixes #2604





More information about the Devel mailing list