On Wed, 16 Mar 2022 14:38:55 GMT, Thomas Stuefe <stu...@openjdk.org> wrote:

> Btw, which malloc call was the problematic exactly? Cannot be the one in 
> getUTF, since that one already adds len + 1 and never gets called with a zero 
> length anyway.

Oh, good point. I guess it gets lost in the noise of my other changes.

The lines causing the issue was these ones: 
https://github.com/openjdk/jdk/blob/08cadb4754da0d5e68ee2df45f4098d203d14115/src/java.base/share/native/libjava/ClassLoader.c#L102-L107

-------------

PR: https://git.openjdk.java.net/jdk/pull/7829

Reply via email to