Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 2020 22:10:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 250366] [tcp] The ioctl of socket fd should return -1 after listen to avoid misusing.
Message-ID:  <bug-250366-7501-S0S6h6Qo2b@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-250366-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-250366-7501@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250366

Michael Tuexen <tuexen@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress

--- Comment #2 from Michael Tuexen <tuexen@freebsd.org> ---
A fix is under review D26897. Avoiding accessing the send and receive buffers
is necessary. Instead of returning an error, one could return 0 in all cases.
Right now, I prefer to return an error. Let's see how the discussion of the
review goes...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250366-7501-S0S6h6Qo2b>