mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-25 15:05:45 +01:00
Fix uninitialized access
Found using Codenomicon Defensics.
This commit is contained in:
parent
ac5361f7dc
commit
bae389b4d4
@ -410,6 +410,8 @@ static int ssl_parse_session_ticket_ext( mbedtls_ssl_context *ssl,
|
||||
int ret;
|
||||
mbedtls_ssl_session session;
|
||||
|
||||
mbedtls_ssl_session_init( &session );
|
||||
|
||||
if( ssl->conf->f_ticket_parse == NULL ||
|
||||
ssl->conf->f_ticket_write == NULL )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user