Thread (4 messages) 4 messages, 3 authors, 2011-01-16

Re: [patch] 9p: fix min_t() casting

From: David Miller <davem@davemloft.net>
Date: 2011-01-16 04:51:35
Also in: kernel-janitors

From: Dan Carpenter <redacted>
Date: Sat, 15 Jan 2011 23:35:39 +0300
The intent here was to cap the length to USHRT_MAX, but what the
code actually does is it just casts the return from strlen() to
unsigned short and truncates the significant bits away.

Signed-off-by: Dan Carpenter <redacted>
If you want me to apply this, it doesn't apply cleanly to net-2.6
at all.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help