Re: [PATCH] getsockopt() early argument sanity checking

David Miller
2006-08-20T19:45:56Z

From: Willy Tarreau <w@1wt.eu>
Date: Sun, 20 Aug 2006 12:15:28 +0200

> Others will consider it totally useless because it does not cover
> all cases, but I think it is against the general principle of
> precaution we try to apply in security.

Reading in a value from userspace twice for questionable
"security" is just bogus.