RFR: 8267860: Off-by-one bug when searching arrays in AlpnGreaseTest
Bradford Wetmore
wetmore at openjdk.java.net
Sat Jun 11 03:07:25 UTC 2022
On Fri, 10 Jun 2022 17:12:30 GMT, Kevin Driver <duke at openjdk.java.net> wrote:
> This PR resolves: https://bugs.openjdk.org/browse/JDK-8267860
LGTM.
test/jdk/sun/security/ssl/ALPN/AlpnGreaseTest.java line 86:
> 84:
> 85: private static void findGreaseInClientHello(byte[] bytes) throws Exception {
> 86: for (int i = 0; i < bytes.length - greaseBytes.length + 1; i++) {
LGTM.
-------------
Marked as reviewed by wetmore (Reviewer).
PR: https://git.openjdk.org/jdk/pull/9131
More information about the security-dev
mailing list