mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8204196: integer cleanup
Reviewed-by: xuelei
This commit is contained in:
parent
f53e04ead9
commit
4e46cc1392
7 changed files with 18 additions and 12 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue