mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
BUGFIX: Fixed segmentation fault on CyaSSL_BIO_free().
In CyaSSL_BIO_new_socket() bio->mem is never initialized. This will cause freeing of unallocated memory in CyaSSL_BIO_free: if (bio->mem) XFREE(bio->mem, 0, DYNAMIC_TYPE_OPENSSL); since bio->mem is not NULL, resulting in a crash.
This commit is contained in: