RFR: JDK-8317959: Check return values of malloc in native java.base coding [v2]

Alan Bateman alanb at openjdk.org
Thu Oct 12 16:24:12 UTC 2023


On Thu, 12 Oct 2023 14:16:55 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> 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

Marked as reviewed by alanb (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/16160#pullrequestreview-1674603470


More information about the core-libs-dev mailing list