mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-30 06:33:06 +00:00
4e8b594002
If `context_buf = mbedtls_calloc( 1, buf_len )` failed, `context_buf_len` was not initialized. Noticed by `gcc -Os -Werror=maybe-uninitialized`. This was only a problem in ssl_server2 (a test program), only with MBEDTLS_SSL_CONTEXT_SERIALIZATION enabled.