[Bug 249859] src/stand's kernel malloc emulation can fail M_WAITOK call

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Sep 24 16:47:58 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249859

Warner Losh <imp at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|bugs at FreeBSD.org            |imp at FreeBSD.org

--- Comment #1 from Warner Losh <imp at FreeBSD.org> ---
In theory, some malloc calls with M_WAITOK can fail because the underlying
Malloc() implementation in src/stand can fail.

We should proactively detect this and fail in a helpful way, rather than
waiting for the null pointer dereference.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list