This commit is contained in:
Phil Race 2018-07-26 10:00:40 -07:00
commit 1387c87093
568 changed files with 3505 additions and 1720 deletions

View file

@ -332,7 +332,7 @@ public final class RSACipher extends CipherSpi {
if ((inLen == 0) || (in == null)) {
return;
}
if (bufOfs + inLen > buffer.length) {
if (inLen > (buffer.length - bufOfs)) {
bufOfs = buffer.length + 1;
return;
}