Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2020 16:47:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 249859] src/stand's kernel malloc emulation can fail M_WAITOK call
Message-ID:  <bug-249859-227-N7D2OqqgPv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-249859-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-249859-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249859

Warner Losh <imp@FreeBSD.org> changed:

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

--- Comment #1 from Warner Losh <imp@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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249859-227-N7D2OqqgPv>