mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-11 02:48:20 +00:00
8269218: GaloisCounterMode.overlapDetection misses the JDK-8263436 fix again
Reviewed-by: ascarpino
This commit is contained in:
parent
d3d3b221d3
commit
3fb28d3074
@ -894,7 +894,7 @@ abstract class GaloisCounterMode extends CipherSpi {
|
||||
// if src is read only, then we need a copy
|
||||
if (!src.isReadOnly()) {
|
||||
// If using the heap, check underlying byte[] address.
|
||||
if (!src.array().equals(dst.array()) ) {
|
||||
if (src.array() != dst.array()) {
|
||||
return dst;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user