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

Vyom Tewari vtewari at openjdk.org
Wed Oct 11 17:38:26 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).

Looks OK to me.

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

Marked as reviewed by vtewari (Committer).

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


More information about the nio-dev mailing list