-
Bug
-
Resolution: Done
-
Critical
-
7.1.0.DR15
Coverity found error handling of reading stream is not sufficient. There is no check if number of actual read bytes match number of expected read bytes. Without such check error will revealed in next processing. Preferred is to detect error early.
KeyStoreCredentialStore.java
private byte[] readBytes(ObjectInputStream ois) throws IOException { int len = ois.readInt(); byte[] data = new byte[len]; ois.read(data, 0, len); return data; }
- is cloned by
-
ELY-1048 Coverity, ignoring number of bytes read
- Resolved
- is incorporated by
-
JBEAP-10618 Upgrade WildFly Elytron to 1.1.0.Beta39
- Closed