Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8269218: GaloisCounterMode.overlapDetection misses the JDK-8263436 fi…
…x again

Reviewed-by: ascarpino
  • Loading branch information
shipilev committed Jun 24, 2021
1 parent d3d3b22 commit 3fb28d3074dfb33d8b7e489c9a55f52d4e0b954b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/java.base/share/classes/com/sun/crypto/provider/GaloisCounterMode.java
@@ -894,7 +894,7 @@ ByteBuffer overlapDetection(ByteBuffer src, ByteBuffer dst) {
// 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;
}

1 comment on commit 3fb28d3

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 3fb28d3 Jun 24, 2021

Please sign in to comment.