Date: Thu, 01 Feb 2024 21:43:18 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 276770] Some potential NULL-pointer dereferences Message-ID: <bug-276770-227-trOUrHNzti@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-276770-227@https.bugs.freebsd.org/bugzilla/> References: <bug-276770-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=3D276770 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 wi= ll never return NULL: malloc(9): "The malloc(), mallocarray(), realloc(), and reallocf() functions cannot return NULL if M_WAITOK is specified." --=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-276770-227-trOUrHNzti>