1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-22 02:22:57 +00:00

Fixed SIGSEGV of OpenSSL on exit()

This commit is contained in:
Gerhard Rieger 2022-07-09 15:29:26 +02:00
parent 09969852e9
commit 15e38be2f5
4 changed files with 18 additions and 6 deletions

View file

@ -1,4 +1,12 @@

Porting:
OpenSSL, at least 1.1 on Ubuntu, crashed with SIGSEGV under certain
conditions: client connection to server with certificate with empty
subject, and pressing ^C after successful connect.
This crash is now prevented by setting OPENSSL_INIT_NO_ATEXIT.
Thanks to Martin Dorey for reporting and analyzing this issue, and for
providing an environment for reproduction.
Testing:
Unset SOCAT_MAIN_WAIT on informational Socat calls