Closed danpascu closed 4 years ago
These fixes are working for me in 2.4 for SIP TLS, but appear to have broken HTTPS using the rest_client. See latest update in #1905.
There seem to be no other crahses in TLS, so I believe we're good to close this ticket. If there's any other problems with TLS, please open a new bug report.
OpenSIPS version you are running
Crash Core Dump
it crahses at line 455 in libssl in crypto/evp/evp_enc.c which reads:
The segfault is a bit weird, because while ctx->cipher->block_size contains an absurdly high value suggesting that ctx->cipher is corrupted, it can be accessed just fine in the debugger, i.e. there doesn't seem to be an illegal memory access on line 455, unless there was in this process at the time, but then some other process overwrote ctx->cipher during shutdown.
Also the value for cipher->do_cipher and cipher->cleanup look suspiciously like memory boundary markers from qmalloc, but I've seen no memory corruption being reported by qmalloc despite the fact that I run with Q_MALLOC_DBG.
To Reproduce
Wish I knew.
Relevant System Logs
While this particular process crashed, another process reported some errors about some resource being temporarily unavailable in TLS code:
OS/environment information