RFR: JDK-8293093 NPE in P11KeyStore.getID [v2]

Xue-Lei Andrew Fan xuelei at openjdk.org
Tue Oct 25 17:59:48 UTC 2022

On Tue, 25 Oct 2022 17:49:49 GMT, Mark Powers <mpowers at openjdk.org> wrote:

>> Mark Powers has updated the pull request incrementally with one additional commit since the last revision:
>>   add getIDNullSafe
> Thanks Tony!

@mcpowers Did you want to update line line 203-207 as well?  It might be safe to remove the current getID(byte[]) method.  If the parameter is null, there is an NPE (unexpected); otherwise, the new method should be safe to use.


PR: https://git.openjdk.org/jdk/pull/10823

More information about the security-dev mailing list