bc-java icon indicating copy to clipboard operation
bc-java copied to clipboard

Ocspresponder Cache possible nullpointer

Open ecki opened this issue 2 years ago • 2 comments

In this location the result of the weak reference needs to be checked for null (like it is done in the upper half of this method).

https://github.com/bcgit/bc-java/blob/5c35c9a5e79648d7fdf85d7cbaffe8169f249443/prov/src/main/java/org/bouncycastle/jce/provider/OcspCache.java#L199C32-L199C32

problem was discussed on the crypto-dev list by Felix.

ecki avatar Nov 30 '23 11:11 ecki

Hey there, thanks for creating the issue. I'm already trying to patch.

felixdo avatar Dec 01 '23 08:12 felixdo

See #1541

dghgit avatar Dec 04 '23 04:12 dghgit