mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 17:05:47 +01:00
Potential memory leak in mpi_exp_mod() when error occurs during
calculation of RR.
This commit is contained in:
parent
3cbaf1e379
commit
6995efe8be
@ -43,6 +43,8 @@ Bugfix
|
||||
of one of them failed
|
||||
* x509_get_current_time() uses localtime_r() to prevent thread issues
|
||||
* Some example server programs were not sending the close_notify alert.
|
||||
* Potential memory leak in mpi_exp_mod() when error occurs during
|
||||
calculation of RR.
|
||||
|
||||
= Version 1.2.10 released 2013-10-07
|
||||
Changes
|
||||
|
@ -1599,7 +1599,7 @@ cleanup:
|
||||
|
||||
mpi_free( &W[1] ); mpi_free( &T ); mpi_free( &Apos );
|
||||
|
||||
if( _RR == NULL )
|
||||
if( _RR == NULL || _RR->p == NULL )
|
||||
mpi_free( &RR );
|
||||
|
||||
return( ret );
|
||||
|
Loading…
Reference in New Issue
Block a user