GrowableArray's c-heap allocate() does not check initial max size == 0 and calls os::malloc(0), which malloc 1 byte. After the array expands, it leaks the byte.
- links to
-
Commit(master) openjdk/jdk/b80b04d7
-
Review(master) openjdk/jdk/24341