[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20070310.101328.32265651.yoshfuji@linux-ipv6.org>
Date: Sat, 10 Mar 2007 10:13:28 +0900 (JST)
From: YOSHIFUJI Hideaki / 吉藤英明
<yoshfuji@...ux-ipv6.org>
To: davem@...emloft.net
Cc: chrisw@...s-sol.org, netdev@...r.kernel.org,
yoshfuji@...ux-ipv6.org
Subject: Re: [PATCH 2/2] [IPV6]: Ensure to truncate result and return full
length for sticky options.
In article <20070309.161506.70220159.davem@...emloft.net> (at Fri, 09 Mar 2007 16:15:06 -0800 (PST)), David Miller <davem@...emloft.net> says:
> > on arch's that don't protect < 0 copy_to_user like i386 does). Here's
> > a simple fix ontop of yoshifuji's two changes. Hope that's it ;-)
>
> copy_to_user() will check it, actually, it will make sure that
> optval + len doesn't wrap or overlap into kernel space.
>
> Actually, like sparc64 it BUG's on negative length so we have
> to fix this :-)
Oh I did not know this BUG.
Anyway, thanks for taking care of this.
--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