Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Feb 2018 00:23:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 218919] setsockopt() accepts too long arguments allowing programmer errors
Message-ID:  <bug-218919-2472-UA0UeyDES3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-218919-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-218919-2472@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=3D218919

--- Comment #4 from Brooks Davis <brooks@FreeBSD.org> ---
I did a quick scan of sooptcopyin() use and only a tiny portion of callers =
call
with a minlength less than length.  We should likely separate the two useca=
ses.

Separately, only one case seems to use the support for overly long argument=
s.=20
If most cases that support seems harmful since it allows userspace programm=
ing
errors to be hidden.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218919-2472-UA0UeyDES3>