[Bug 261454] Fix a possible Null pointer dereference about svc_xprt_alloc()
Date: Thu, 27 Jan 2022 02:37:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261454
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.