-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
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 .
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; }
- clones
-
JBEAP-10075 Coverity, ignoring number of bytes read
- Closed