HomeFreeBSD

Set errno to ENOMEM on rallocx() OOM failures

Description

Set errno to ENOMEM on rallocx() OOM failures

realloc() and rallocx() shares path, and realloc() should set errno to
ENOMEM upon OOM failures.

PR: 291677
Obtained from: jemalloc (commit 38056fea64c34ca4fef0a16212776eaa4de80b78)
Fixes: c43cad871720 ("jemalloc: Merge from jemalloc 5.3.0 vendor branch")
MFC after: 3 days
Pull Request: https://github.com/freebsd/freebsd-src/pull/2059

(cherry picked from commit 5583b64f230fe0ea4e3d4bf4566205b521190fbb)

Details

Provenance
Juhyung Park <qkrwngud825@gmail.com>Authored on Mar 3 2026, 9:59 AM
brooksCommitted on Mar 13 2026, 9:13 AM
Parents
rGd74dfe03ba98: camcontrol: Add SPDX-License-Identifier tag
Branches
Unknown
Tags
Unknown

Event Timeline