[OpenSIPS-Devel] [OpenSIPS/opensips] 91abb6: tls_wolfssl: properly fix crash when clearing the ...

Vlad Pătrașcu noreply at github.com
Tue Jan 18 19:40:37 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 91abb6c4fd3851da57c751ac8c97d0757d4b09dc
      https://github.com/OpenSIPS/opensips/commit/91abb6c4fd3851da57c751ac8c97d0757d4b09dc
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2022-01-18 (Tue, 18 Jan 2022)

  Changed paths:
    M modules/tls_wolfssl/Makefile
    M modules/tls_wolfssl/wolfssl.c
    M modules/tls_wolfssl/wolfssl_config.c

  Log Message:
  -----------
  tls_wolfssl: properly fix crash when clearing the error queue

Make sure the wolfssl error queue is empty after module init so that
multiple processes would not try to free the same elements. Drop the
custom locking callbacks mechanism introduced in commit 0b75867, as each
process allocates it's own queue elements even though shm is used.

Fixes #2667





More information about the Devel mailing list