RFR: 8296400: pointCrlIssuers might be null in DistributionPointFetcher::verifyURL
Weijun Wang
weijun at openjdk.org
Thu Mar 9 20:13:09 UTC 2023
On Fri, 3 Mar 2023 19:45:22 GMT, Matthew Donovan <duke at openjdk.org> wrote:
> Added null-checks for pointCrlIssuers before it is accessed.
src/java.base/share/classes/sun/security/provider/certpath/DistributionPointFetcher.java line 485:
> 483: // cannot all be missing from a certificate.
> 484: for (Iterator<GeneralName> t = pointCrlIssuers.iterator();
> 485: !match && t.hasNext(); ) {
Please keep the 8-char indentation for a wrapped line. Same below.
-------------
PR: https://git.openjdk.org/jdk/pull/12866
More information about the security-dev
mailing list