-
Bug
-
Resolution: Done
-
Critical
-
7.1.0.DR15
Coverity found possible null dereference as getEntry() could return null.
KeyStoreCredentialStore.java
void store(OutputStream outputStream) throws IOException, GeneralSecurityException { ObjectOutputStream oos = new ObjectOutputStream(outputStream); oos.writeInt(VERSION); Enumeration<String> ksAliases = dataKeyStore.aliases(); while(ksAliases.hasMoreElements()) { String alias = ksAliases.nextElement(); KeyStore.Entry entry = dataKeyStore.getEntry(alias, convertParameter(protectionParameter)); if (entry instanceof KeyStore.SecretKeyEntry) { saveSecretKey(alias, oos, (KeyStore.SecretKeyEntry)entry); } else { throw log.unrecognizedEntryType(entry.getClass().getCanonicalName()); } } oos.flush(); oos.close(); }
- is cloned by
-
ELY-1051 Coverity, derefere null return value in KeyStoreCredentialStore.store
- Resolved
- is incorporated by
-
JBEAP-10618 Upgrade WildFly Elytron to 1.1.0.Beta39
- Closed