bind9/lib
Artem Boldariev bd41100295
Fix a crash by avoiding destroying TLS stream socket too early
This commit fixes a crash in generic TLS stream code, which could be
reproduced during some runs of the 'sslyze' tool.

The intention of this commit is twofold.

Firstly, it ensures that the TLS socket object cannot be destroyed too
early. Now it is being deleted alongside the underlying TCP socket
object.

Secondly, it ensures that the TLS socket object cannot be destroyed as
a result of calling 'tls_do_bio()' (the primary function which
performs encryption/decryption during the IO) as the code did not
expect that. This code path is fixed now.

(cherry picked from commit a696be6a2d)
2022-05-04 19:56:57 +02:00
..
bind9 More explicit dns64 prefix errors 2022-03-25 16:08:22 +01:00
dns Allow DNS_RPZ_POLICY_ERROR to be converted to a string 2022-05-04 23:52:29 +10:00
irs Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
isc Fix a crash by avoiding destroying TLS stream socket too early 2022-05-04 19:56:57 +02:00
isccc Remove use of the inline keyword used as suggestion to compiler 2022-03-25 08:42:18 +01:00
isccfg Rename "hostname" to "remote-hostname" within "tls" 2022-05-03 17:42:43 +03:00
ns Check the cache as well when glue NS are returned processing RPZ 2022-05-04 23:52:29 +10:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
Makefile.am move samples/resolve.c to bin/tests/system 2021-04-16 14:29:43 +02:00
unit-test-driver.sh.in Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00