Open ywkaras opened 3 days ago
It seems BIO user data is no longer initialized to nullptr.
Yeah, and it's initialized to something else. This change probably cause a memory leak and frees something that should not be freed by OpenSSL, if TFO is enabled. https://github.com/openssl/openssl/blob/77d716d3be95317ade5a7b8dda0b4946522c5a34/crypto/bio/bss_sock.c#L94
How about using BIO_set_ex_data
?
It seems BIO user data is no longer initialized to nullptr.