Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Sep 2022 16:58:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 264055] bhnd(4): null pointer dereference in bhnd_erom_iores_new()
Message-ID:  <bug-264055-7501-BnHZaJR8Em@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264055-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264055-7501@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=3D264055

--- Comment #2 from Ed Maste <emaste@freebsd.org> ---
Note this from the malloc(9) man page:

     M_WAITOK
             Indicates that it is OK to wait for resources.  If the request
             cannot be immediately fulfilled, the current process is put to
             sleep to wait for resources to be released by other processes.
             The malloc(), mallocarray(), realloc(), and reallocf() functio=
ns
             cannot return NULL if M_WAITOK is specified.  If the
             multiplication of nmemb and size would cause an integer overfl=
ow,
             the mallocarray() function induces a panic.

--=20
You are receiving this mail because:
You are on the CC list for the bug.
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-264055-7501-BnHZaJR8Em>