RFR: JDK-8038244: (fs) Check return value of malloc in Java_sun_nio_fs_AixNativeDispatcher_getmntctl()
Matthias Baesken
mbaesken at openjdk.org
Wed Oct 11 13:42:28 UTC 2023
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).
-------------
Commit messages:
- JDK-8038244
Changes: https://git.openjdk.org/jdk/pull/16151/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16151&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8038244
Stats: 6 lines in 1 file changed: 4 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/16151.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16151/head:pull/16151
PR: https://git.openjdk.org/jdk/pull/16151
More information about the nio-dev
mailing list