[DragonFlyBSD - Bug #2136] (Resolved) socketpair() doesn't free file descriptors on copyout failure

liweitianux bugtracker-admin at leaf.dragonflybsd.org
Fri Oct 2 21:11:05 PDT 2026


Issue #2136 has been updated by liweitianux.

Status changed from New to Resolved

Close as fixed. Thank you.

----------------------------------------
Bug #2136: socketpair() doesn't free file descriptors on copyout failure
http://bugs.dragonflybsd.org/issues/2136#change-14747

* Author: vsrinivas
* Status: Resolved
* Priority: Normal
* Target version: 6.4
----------------------------------------
Hi,

sys_socketpair() has a copyout() to copy two file descriptors back to userspace;
if this copyout fails, the socketpair file descriptors are not freed.

-- vs

---Files--------------------------------
0001-linux_socketpair-Free-socketpair-file-descriptors-if.patch (936 Bytes)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account


More information about the Bugs mailing list