[Bug 218919] setsockopt() accepts too long arguments allowing programmer errors

2018-02-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218919 --- Comment #4 from Brooks Davis --- 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 usecases. Separately, only one case seems to use the

[Bug 218919] setsockopt() accepts too long arguments allowing programmer errors

2017-05-05 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218919 --- Comment #3 from commit-h...@freebsd.org --- A commit references this bug: Author: brooks Date: Fri May 5 16:24:35 UTC 2017 New revision: 317834 URL: https://svnweb.freebsd.org/changeset/base/317834 Log: MFC r317566: Don't pass si

[Bug 218919] setsockopt() accepts too long arguments allowing programmer errors

2017-05-05 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218919 --- Comment #2 from commit-h...@freebsd.org --- A commit references this bug: Author: brooks Date: Fri May 5 15:15:42 UTC 2017 New revision: 317831 URL: https://svnweb.freebsd.org/changeset/base/317831 Log: MFC r317566: Don't pass si

[Bug 218919] setsockopt() accepts too long arguments allowing programmer errors

2017-04-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218919 --- Comment #1 from commit-h...@freebsd.org --- A commit references this bug: Author: brooks Date: Fri Apr 28 17:58:16 UTC 2017 New revision: 317566 URL: https://svnweb.freebsd.org/changeset/base/317566 Log: Don't pass size_t arguments t

[Bug 218919] setsockopt() accepts too long arguments allowing programmer errors

2017-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218919 Bug ID: 218919 Summary: setsockopt() accepts too long arguments allowing programmer errors Product: Base System Version: CURRENT Hardware: Any OS: Any