RFR: JDK-8317959: Check return values of malloc in native java.base coding [v2]
Matthias Baesken
mbaesken at openjdk.org
Thu Oct 12 14:16:55 UTC 2023
> There are a few remaining places in java.base where the return value NULL-check of malloc is missing. This should better be adjusted.
Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
doabort in check method in case no memory can be allocated
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/16160/files
- new: https://git.openjdk.org/jdk/pull/16160/files/24fbb465..109b13c3
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=16160&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=16160&range=00-01
Stats: 4 lines in 1 file changed: 3 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/16160.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16160/head:pull/16160
PR: https://git.openjdk.org/jdk/pull/16160
More information about the nio-dev
mailing list