HomeFreeBSD

libc: lib_malloc_aligned(): add a missing NULL check

Description

libc: lib_malloc_aligned(): add a missing NULL check

For some reason return value of the __je_bootstrap_malloc()
is not checked and then de-referenced few lines below, causing
a SEGV if an early allocation fails.

MFC after: 1 month

Details

Provenance
sobomaxAuthored on Dec 8 2024, 7:08 PM
Parents
rGae316d1d1cff: MFV: file 5.46.
Branches
Unknown
Tags
Unknown