mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-25 16:05:43 +01:00
Potential memory leak in mpi_exp_mod() when error occurs during
calculation of RR.
This commit is contained in:
parent
dd75c3183b
commit
75a2860f26
@ -9,6 +9,8 @@ Security
|
||||
Bugfix
|
||||
* The length of various ClientKeyExchange messages was not properly checked.
|
||||
* 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.
|
||||
|
||||
= PolarSSL 1.3.5 released on 2014-03-26
|
||||
Features
|
||||
|
@ -1715,7 +1715,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