[openssl-dev] [openssl.org #3806] change request - cleanup thread ERR state

Michal.Puczynski@teleste.com via RT rt at openssl.org
Thu Apr 16 13:54:32 UTC 2015


Dear OpenSSL developers,

I have noticed OpenSSL functions allocate structures for error storage per thread.
It might be a good idea to add cleanup of those at thread termination.

Suggested patch (1.0.1m)

cryptlib.c:762
                case DLL_THREAD_DETACH:
                               ERR_remove_thread_state(NULL);
                               break;

Regards,
Michal Puczyński.

*-----------------
Michal Puczynski
Teleste Video Networks Sp. z o.o.
e-mail : michal.puczynski at teleste.com<mailto:michal.puczynski at teleste.com>
phone  : +48(71)3736029, +48(71)7947831<callto://+48713736029/>
mobile : +48 606823410<callto://+48606823410/>
skype  : callto://michal.puczynski<callto://michal.puczynski/>
address: PL 54-440 Wroclaw
         ul. Rogowska 117b




More information about the openssl-dev mailing list