[Bug 261454] Fix a possible Null pointer dereference about svc_xprt_alloc()

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 27 Jan 2022 02:37:32 UTC

Konstantin Belousov <kib@FreeBSD.org> changed:

           What    |Removed                     |Added
                 CC|                            |kib@FreeBSD.org

--- Comment #1 from Konstantin Belousov <kib@FreeBSD.org> ---
Why the result of svc_xprt_alloc() need to be checked?  How could it return
NULL?  The function uses mem_alloc() for two allocations, and mem_alloc() is
malloc(M_WAITOK) which always succeed.

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