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: <20080528.210722.59120277.yoshfuji@linux-ipv6.org>
Date:	Wed, 28 May 2008 21:07:22 +0900 (JST)
From:	YOSHIFUJI Hideaki / 吉藤英明 
	<yoshfuji@...ux-ipv6.org>
To:	yanghy@...fujitsu.com
Cc:	davem@...set.davemloft.net, netdev@...r.kernel.org,
	yoshfuji@...ux-ipv6.org
Subject: Re: [PATCH 1/2] IPv6: Fix the return value of get destination
 options with NULL data pointer

In article <483D1693.4080805@...fujitsu.com> (at Wed, 28 May 2008 16:23:47 +0800), Yang Hongyang <yanghy@...fujitsu.com> says:

> If we pass NULL data buffer to getsockopt(), it will return 0,
> and the option length is set to -EFAULT:
>     getsockopt(sk, IPPROTO_IPV6, IPV6_DSTOPTS, NULL, &len);
> 
> This is because ipv6_getsockopt_sticky() will return -EFAULT or
> -EINVAL if some error occur.
> 
> This patch fix this problem.

I'm going to apply this in my tree.  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