Integrated: JDK-8317959: Check return values of malloc in native java.base coding

Matthias Baesken mbaesken at openjdk.org
Fri Oct 13 06:53:35 UTC 2023


On Thu, 12 Oct 2023 08:00:30 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> There are a few remaining places in java.base where the return value NULL-check of malloc is missing. This should better be adjusted.

This pull request has now been integrated.

Changeset: ff0b397e
Author:    Matthias Baesken <mbaesken at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ff0b397e135665fbc763bc4042b95c17f6c5367a
Stats:     29 lines in 4 files changed: 27 ins; 0 del; 2 mod

8317959: Check return values of malloc in native java.base coding

Reviewed-by: alanb, bpb

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

PR: https://git.openjdk.org/jdk/pull/16160


More information about the core-libs-dev mailing list