commit | 9678b5dccd42d745f734db01a7223007f580982f | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com> | Thu Feb 11 10:35:13 2016 +0100 |
committer | Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com> | Thu Feb 11 10:35:13 2016 +0100 |
tree | 86aac34a22f38215795b2859d7b1ee416fa7cfe2 | |
parent | 31581985a0965a238ca13fc152dda8bc2c4ad9ba [diff] |
Add precision about exploitability in ChangeLog Also fix some whitespace while at it.
diff --git a/library/rsa.c b/library/rsa.c index 3cb92f4..9150e87 100644 --- a/library/rsa.c +++ b/library/rsa.c
@@ -595,7 +595,7 @@ 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 );