Date: Tue, 31 Jul 2018 00:48:17 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 131876] [socket] FD leak by receiving SCM_RIGHTS by recvmsg with small control message buffer Message-ID: <bug-131876-7501-3SgyxtrSOC@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-131876-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-131876-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=3D131876 --- Comment #6 from commit-hook@freebsd.org --- A commit references this bug: Author: markj Date: Tue Jul 31 00:48:08 UTC 2018 New revision: 336957 URL: https://svnweb.freebsd.org/changeset/base/336957 Log: Add a regression test related to PR 131876. If an error occurs while copying a SCM_RIGHTS message to userspace, we free the mbuf containing externalized rights, leaking them. PR: 131876 MFC after: 1 week Sponsored by: The FreeBSD Foundation Changes: head/tests/sys/kern/unix_passfd_test.c --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-131876-7501-3SgyxtrSOC>