forked from wolfSSL/wolfssl
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: