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

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


  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ce81ade54f702acb33d1b9fbc86dede9855117d5
      https://github.com/OpenSIPS/opensips/commit/ce81ade54f702acb33d1b9fbc86dede9855117d5
  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

(cherry picked from commit d5d069d37a1dddfff002337c5d39f2ad2d83b69e)





More information about the Devel mailing list