JiangHai2011 left a comment (kamailio/kamailio#4610)

now, we've found the reason:  when shared mem is almost zero,  SSL_set_app_data 
in tls_complete_init function will fail, but the return value of 
SSL_set_app_data is not handled, as a result, the app_data of ssl will be NULL. 
When TLS handshake is processed, the data = (struct tls_extra_data 
*)SSL_get_app_data(ssl);   in  sr_ssl_ctx_info_callback will be NULL, and 
data->flags will cause crash.
And the solution is to handle the return value of SSL_set_app_data in 
tls_complete_init

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4610#issuecomment-3988801375
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/4610/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to