RFR: JDK-8038244: (fs) Check return value of malloc in Java_sun_nio_fs_AixNativeDispatcher_getmntctl()

Brian Burkhalter bpb at openjdk.org
Wed Oct 11 15:21:11 UTC 2023


On Wed, 11 Oct 2023 13:35:55 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> There's a call to malloc() in Java_sun_nio_fs_AixNativeDispatcher_getmntctl() where we don't check for a potentially NULL return value (i.e. out of memory).

Marked as reviewed by bpb (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/16151#pullrequestreview-1671538361


More information about the nio-dev mailing list