[Bug 276770] Some potential NULL-pointer dereferences
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 276770] Some potential NULL-pointer dereferences"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 01 Feb 2024 21:43:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276770
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.