-
Bug
-
Resolution: Fixed
-
P4
-
7
-
None
-
b43
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8193957 | openjdk7u | Andrew Hughes | P4 | Resolved | Fixed | master |
sun.security.provider.certpath.ReverseBuilder.getMatchingCACerts():
222 sel.addPathToName(4, targetCertConstraints.getSubjectAsBytes());
targetCertConstraints is an instance of X509CertSelector. X509CertSelector.getSubjectAsBytes() mey return null, as will result in X509CertSelector.addPathToName() throws NullPointerException.
We may need to update the above code in case the subject in an X509CertSelector is null.
222 sel.addPathToName(4, targetCertConstraints.getSubjectAsBytes());
targetCertConstraints is an instance of X509CertSelector. X509CertSelector.getSubjectAsBytes() mey return null, as will result in X509CertSelector.addPathToName() throws NullPointerException.
We may need to update the above code in case the subject in an X509CertSelector is null.
- backported by
-
JDK-8193957 ReverseBuilder.getMatchingCACerts may throws NPE
- Resolved