Integrated: 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:23 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).
This pull request has now been integrated.
Changeset: 6d6c9008
Author: Matthias Baesken <mbaesken at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/6d6c9008d5c87631771e194f475b14e178d16322
Stats: 6 lines in 1 file changed: 4 ins; 0 del; 2 mod
8038244: (fs) Check return value of malloc in Java_sun_nio_fs_AixNativeDispatcher_getmntctl()
Reviewed-by: bpb, vtewari, rriggs
-------------
PR: https://git.openjdk.org/jdk/pull/16151
More information about the nio-dev
mailing list