Thread (1 message) 1 message, 1 author, 2007-03-10

Re: [PATCH 2/2] [IPV6]: Ensure to truncate result and return full length for sticky options.

From: Chris Wright <hidden>
Date: 2007-03-10 00:22:19

* David Miller (davem@davemloft.net) wrote:
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 :-)
Yeah, I think it's arch dependent (x86_64 for example will give
me 2GB back happily, useful if I forgot my password ;-)

thanks,
-chris
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help