[jdk17u-dev] RFR: 8296343: CPVE thrown on missing content-length in OCSP response

Alexey Pavlyutkin duke at openjdk.org
Thu Mar 7 08:20:56 UTC 2024


On Thu, 18 May 2023 15:59:18 GMT, Alexey Pavlyutkin <duke at openjdk.org> wrote:

> Hi!
> 
> Here is backport of [JDK-8296343](https://bugs.openjdk.org/browse/JDK-8296343). The patch fixes CertPathValidatorException taking place if OCSP response does not contain `ContentLength` field.
> 
> Original patch is applied cleanly.
> 
> Verification/regression (amd64/20.04 LTS): `jdk_security` including newly added `test/jdk/sun/security/provider/certpath/OCSP/OCSPNoContentLength.java`

Philip, sorry for long ping, I repent sincerely.

I did not have a time for this because I have changed my employment and now JDK is only a side activity for me.

IMHO it would be better if you raise a new ticket for this, but the most important here is to share how you reproduce the issue. If the issue is reproducible for the upstream?

-------------

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/1361#issuecomment-1982885548


More information about the jdk-updates-dev mailing list