RFR: JDK-8293093 NPE in P11KeyStore.getID
Anthony Scarpino
ascarpino at openjdk.org
Mon Oct 24 16:21:55 UTC 2022
On Fri, 21 Oct 2022 19:54:57 GMT, Mark Powers <mpowers at openjdk.org> wrote:
> https://bugs.openjdk.org/browse/JDK-8293093
Looking at the usage of getID(), it seems like debug msgs and exceptions are where the null maybe a problem. mapLabel() checks for null. It maybe best to change getID(bytes[]) to return new String("null") then having if() checks for the return value.
-------------
PR: https://git.openjdk.org/jdk/pull/10823
More information about the security-dev
mailing list