The Reliable Event Logging Protocol library
Go to file
Cropi 5f55fd53ee backport: fix OpenSSL fd double-close in TLS teardown
Backport https://github.com/rsyslog/librelp/pull/292

Move relpTcpDestructTLS() before the socket close so SSL_shutdown()
can send the close_notify on a valid fd. Change BIO_new_socket()
from BIO_CLOSE to BIO_NOCLOSE so SSL_free() does not close the fd
a second time via the BIO destructor. Add conn = NULL after
SSL_set_bio() to prevent the error-path use-after-free.

Resolves: RHEL-192630
Signed-off-by: Cropi <alakatos@redhat.com>
2026-07-09 13:09:41 +02:00
.fmf Enable RHEL CI for c9s 2025-02-06 16:07:23 +01:00
.gitignore Merged update from upstream sources 2021-03-19 10:30:34 +00:00
ci_tests.fmf Enable RHEL CI for c9s 2025-02-06 16:07:23 +01:00
fix-openssl-fd-double-close.patch backport: fix OpenSSL fd double-close in TLS teardown 2026-07-09 13:09:41 +02:00
gating.yaml Enable RHEL CI for c9s 2025-02-06 16:07:23 +01:00
librelp-1.10.0-crypto-compliance.patch Enable openssl 2021-08-17 10:39:03 +02:00
librelp-1.10.0-rhbz1972067-relpEngineSetTLSLibByName.patch Enable openssl 2021-08-17 10:39:03 +02:00
librelp.spec backport: fix OpenSSL fd double-close in TLS teardown 2026-07-09 13:09:41 +02:00
sources Merged update from upstream sources 2021-03-19 10:30:34 +00:00