-
- Downloads
contrib: fix random crash due to pjproject assert
Many functions in pjproject check for calling thread and assert if this one is not previously registered by the application. This is the case of pj_log and this function can be called anywhere at anytime, as our gnutls patch uses it for logging TLS error. Our log function in our patch has not to be done as it calls a log register function reserved for the final application, not library. As a result of this, our tls session code, where a thread is not registered to pjproject, may call pj_log a causes an application. This patch removes the logging stuff into our gnutls pjproject patch. If logging needed, it must be implemented by the Ring daemon code with ad-hoc automatic thread registration. Change-Id: If8f9d86258473ac43c0456b514cc3a078fc18fd2
Please register or sign in to comment