wolfSSL / wolfssl

The wolfSSL library is a small, fast, portable implementation of TLS/SSL for embedded devices to the cloud. wolfSSL supports up to TLS 1.3 and DTLS 1.3!
https://www.wolfssl.com
GNU General Public License v2.0
2.36k stars 834 forks source link

wc_UnloadStaticMemory should be used to free mutex #8180

Closed JacobBarthelmeh closed 1 week ago

JacobBarthelmeh commented 1 week ago

Found internally with CM use case. This fixes an edge case issue with double free'ing the mutex used with staticmemory feature.