[Bug 276770] Some potential NULL-pointer dereferences

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 01 Feb 2024 21:43:18 UTC

Kristof Provost <kp@freebsd.org> changed:

           What    |Removed                     |Added
                 CC|                            |kp@freebsd.org

--- Comment #1 from Kristof Provost <kp@freebsd.org> ---
Most, if not all, of these appear to be allocations with M_WAITOK, which will
never return NULL:

malloc(9): "The malloc(), mallocarray(), realloc(), and reallocf() functions
cannot return NULL if M_WAITOK is specified."

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