]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
tests/unix_seqpacket: mk_pair_of_sockets() requires a valid argument
authorGleb Smirnoff <glebius@FreeBSD.org>
Mon, 11 Mar 2024 14:50:29 +0000 (07:50 -0700)
committerGleb Smirnoff <glebius@FreeBSD.org>
Mon, 11 Mar 2024 14:50:29 +0000 (07:50 -0700)
commit55951611e49a5a43ba151582505019c38558c0e7
tree54c3f3b70b951eb7d77a9879ac115526df8d192c
parent59c8e88e72633afbc47a4ace0d2170d00d51f7dc
tests/unix_seqpacket: mk_pair_of_sockets() requires a valid argument

All callers do it right.  Don't be overprotective against a stupid
caller and thus don't look like a code that leaks a resource.

Reported by: Coverity Scan
CID: 1539210
tests/sys/kern/unix_seqpacket_test.c