[Bug 279886] wrong implemetaion of kern_getpeername when client side closed.
Date: Fri, 21 Jun 2024 04:25:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279886
Bug ID: 279886
Summary: wrong implemetaion of kern_getpeername when client
side closed.
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: kern
Assignee: bugs@FreeBSD.org
Reporter: shichun_ma@dell.com
Attachment #251596 text/plain
mime type:
Created attachment 251596
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=251596&action=edit
test app for the peername
for the define of getpeername() system call returns the name of the peer
connected to socket s. it doesn't require keeping connected when do the query.
one example is: one client connects a socket,then send msg to that socket, and
close.from server side, it still can recv msg from the socket even after client
socket is closed. attached one test application to show the case.
--
You are receiving this mail because:
You are the assignee for the bug.