Files
linux/drivers/net
Dan Carpenter 2fb40577b0 wl3501_cs: min_t() cast truncates high bits
wrqu->encoding.length comes from the network administrator.  It's
size u16.  We want to limit "tocopy" to the smallest value of either
"len_keys", "wrqu->encoding.length" or 100.  But because .length
gets cast from u16 to u8 we might use a random, smaller value than
the was desired.  It's probably not very serious, but we may as well
fix it.

Btw, this is from code auditing and not from testing.  I don't know
if this affects anyone in real life.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-09-27 14:36:04 -04:00
..
2011-07-21 13:47:54 -07:00
2011-07-21 13:47:54 -07:00
2011-07-26 16:49:47 -07:00
2011-07-23 20:01:15 -07:00
2011-07-24 13:11:40 -07:00
2011-07-27 22:39:30 -07:00
2011-07-07 00:26:31 -07:00
2011-07-21 13:47:54 -07:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-07-21 13:47:54 -07:00
2011-07-21 13:47:53 -07:00
2011-07-21 13:47:55 -07:00
2011-07-26 16:49:47 -07:00
2011-07-23 20:01:15 -07:00
2011-07-21 13:47:55 -07:00
2011-07-21 22:57:38 -07:00
2011-07-21 13:47:56 -07:00
2011-06-29 06:02:05 -07:00
2011-07-26 16:49:47 -07:00
2011-07-23 20:01:15 -07:00
2011-03-31 11:26:23 -03:00
2011-07-21 13:47:57 -07:00
2011-07-26 16:49:47 -07:00
2011-05-31 19:28:32 -07:00
2011-03-31 11:26:23 -03:00
2011-05-31 19:28:32 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-07-15 08:08:26 -07:00
2011-07-25 16:16:00 -07:00
2011-07-25 16:16:00 -07:00
2011-07-21 13:47:54 -07:00
2011-07-21 13:47:54 -07:00
2011-03-31 11:26:23 -03:00
2011-07-26 16:49:47 -07:00
2011-03-31 11:26:23 -03:00
2011-07-26 16:49:47 -07:00
2011-06-21 15:48:29 -07:00
2011-06-13 17:26:15 -04:00
2011-03-31 11:26:23 -03:00
2011-06-21 15:48:29 -07:00
2011-03-31 11:26:23 -03:00
2011-06-21 15:48:29 -07:00
2011-03-31 11:26:23 -03:00
2011-07-27 22:39:30 -07:00
2011-07-21 13:47:55 -07:00
2011-07-21 13:47:55 -07:00
2011-04-17 17:47:36 -07:00
2011-06-21 15:48:29 -07:00
2011-03-31 11:26:23 -03:00
2011-05-31 19:28:32 -07:00
2011-03-31 11:26:23 -03:00
2011-07-26 16:49:47 -07:00
2011-07-21 13:47:55 -07:00
2011-06-24 17:31:37 -07:00
2011-03-31 11:26:23 -03:00
2011-06-21 15:48:29 -07:00
2011-07-07 04:41:24 -07:00
2011-07-27 22:39:31 -07:00
2011-03-31 11:26:23 -03:00
2011-05-31 19:28:32 -07:00
2011-04-06 14:35:23 -07:00
2011-07-21 13:47:56 -07:00
2011-03-31 11:26:23 -03:00
2011-07-26 16:49:47 -07:00
2011-06-21 15:48:29 -07:00
2011-03-31 11:26:23 -03:00
2011-07-21 13:47:55 -07:00
2011-06-21 15:48:29 -07:00
2011-07-07 00:30:09 -07:00
2011-07-08 08:53:33 -07:00
2011-03-31 11:26:23 -03:00
2011-07-21 13:47:56 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-07-21 13:47:55 -07:00
2011-07-21 13:47:55 -07:00
2011-03-31 11:26:23 -03:00
2011-06-21 15:48:29 -07:00
2011-03-31 11:26:23 -03:00
2011-07-21 13:47:56 -07:00