Integrated: 8313856: Replace VLA with malloc in pango

Jayathirth D V jdv at openjdk.org
Tue Aug 8 12:16:45 UTC 2023


On Mon, 7 Aug 2023 04:55:23 GMT, Jayathirth D V <jdv at openjdk.org> wrote:

> We should not use stack for array memory allocations in JNI.
> Updated pango.c to use malloc for arrays and release them at appropriate places.

This pull request has now been integrated.

Changeset: 1752b623
Author:    Jayathirth D V <jdv at openjdk.org>
Committer: Kevin Rushforth <kcr at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/1752b62320f9e42f6d0d2c1f8278cf2ab205a8f4
Stats:     26 lines in 1 file changed: 22 ins; 0 del; 4 mod

8313856: Replace VLA with malloc in pango

Reviewed-by: arapte, kcr

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

PR: https://git.openjdk.org/jfx/pull/1202


More information about the openjfx-dev mailing list