lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080411.161544.75421417.yoshfuji@linux-ipv6.org>
Date:	Fri, 11 Apr 2008 16:15:44 +0900 (JST)
From:	YOSHIFUJI Hideaki / 吉藤英明 
	<yoshfuji@...ux-ipv6.org>
To:	wangchen@...fujitsu.com
Cc:	davem@...emloft.net, netdev@...r.kernel.org,
	yoshfuji@...ux-ipv6.org
Subject: Re: [2.6 PATCH] IPV6: Check length of optval provided by user in
 setsockopt()

In article <47F97BEF.2070205@...fujitsu.com> (at Mon, 07 Apr 2008 09:42:07 +0800), Wang Chen <wangchen@...fujitsu.com> says:

> YOSHIFUJI Hideaki said the following on 2008-3-31 18:53:
> > POSIX, as we have some comments in that file ;-).
> > If it is shorter than expected, -EINVAL, otherwise, no error.
> > We need to fix other sites as well.
> > 
> 
> Check length of setsockopt's optval, which provided by user, before copy it
> from user space.
> For POSIX compliant, return -EINVAL for setsockopt of short lengths.
> 
> Signed-off-by: Wang Chen <wangchen@...fujitsu.com>

Applied, thanks.

--yoshfuji
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ