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

Matthias Baesken mbaesken at openjdk.org
Thu Oct 12 07:19:22 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).

Thanks for the reviews !

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

PR Comment: https://git.openjdk.org/jdk/pull/16151#issuecomment-1759063686


More information about the nio-dev mailing list