mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8269218: GaloisCounterMode.overlapDetection misses the JDK-8263436 fix again
Reviewed-by: ascarpino
This commit is contained in:
parent
d3d3b221d3
commit
3fb28d3074
1 changed files with 1 additions and 1 deletions
|
@ -894,7 +894,7 @@ abstract class GaloisCounterMode extends CipherSpi {
|
||||||
// if src is read only, then we need a copy
|
// if src is read only, then we need a copy
|
||||||
if (!src.isReadOnly()) {
|
if (!src.isReadOnly()) {
|
||||||
// If using the heap, check underlying byte[] address.
|
// If using the heap, check underlying byte[] address.
|
||||||
if (!src.array().equals(dst.array()) ) {
|
if (src.array() != dst.array()) {
|
||||||
return dst;
|
return dst;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue