1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-01 10:06:53 +03:00

Add precision about exploitability in ChangeLog

Also fix some whitespace while at it.
This commit is contained in:
Manuel Pégourié-Gonnard
2016-02-11 10:35:13 +01:00
committed by Simon Butcher
parent cc4eba73fb
commit 370717b571
2 changed files with 2 additions and 1 deletions

View File

@ -595,7 +595,7 @@ int mbedtls_rsa_rsaes_pkcs1_v15_encrypt( mbedtls_rsa_context *ctx,
return( MBEDTLS_ERR_RSA_BAD_INPUT_DATA );
olen = ctx->len;
// first comparison checks for overflow
if( ilen + 11 < ilen || olen < ilen + 11 )
return( MBEDTLS_ERR_RSA_BAD_INPUT_DATA );