On 27/05/2016 16:12, Jim Laskey (Oracle) wrote:
You might want to double check the range check in ImageStringsReader.hashCode as it looks like it allows count < 0. I assume what you want is:http://cr.openjdk.java.net/~jlaskey/8156209/webrev/index.html https://bugs.openjdk.java.net/browse/JDK-8156209
if (offset < 0 || count < 0 || offset > bytes.length - count) { ...}
-Alan.
