git: openjdk/jdk: 8308010: X509Key and PKCS8Key allows garbage bytes at the end

Weijun Wang weijun at openjdk.org
Thu May 18 21:25:13 UTC 2023


Changeset: 148df533
Author:    Weijun Wang <weijun at openjdk.org>
Date:      2023-05-18 21:23:29 +0000
URL:       https://git.openjdk.org/jdk/commit/148df533af618a959ca2f3601d9ab897c3515d77

8308010: X509Key and PKCS8Key allows garbage bytes at the end

Reviewed-by: mullan

! src/java.base/share/classes/sun/security/pkcs/PKCS8Key.java
! src/java.base/share/classes/sun/security/x509/X509Key.java
+ test/jdk/sun/security/pkcs/pkcs8/LongPKCS8orX509KeySpec.java



More information about the jdk-changes mailing list