Bob Copeland
b3e7de873d
mac80211: add missing length check for confirm frames
...
Although mesh_rx_plink_frame() already checks that frames have enough
bytes for the action code plus another two bytes for capability/reason
code, it doesn't take into account that confirm frames also have an
additional two-byte aid. As a result, a corrupt frame could cause a
subsequent subtraction to wrap around to ill effect. Add another
check for this case.
Signed-off-by: Bob Copeland <me@bobcopeland.com >
Signed-off-by: Johannes Berg <johannes.berg@intel.com >
2015-07-17 14:39:42 +02:00
..
2015-07-04 19:36:06 -07:00
2015-06-01 16:50:52 -07:00
2015-05-11 10:50:17 -04:00
2015-05-11 10:50:17 -04:00
2015-06-28 16:55:44 -07:00
2015-06-07 17:07:20 +02:00
2015-07-04 19:11:33 -07:00
2015-07-10 18:18:00 -07:00
2015-06-01 22:51:30 -07:00
2015-07-12 21:13:22 +02:00
2015-07-09 20:30:34 +03:00
2015-07-10 18:16:36 -07:00
2015-06-15 19:49:22 -07:00
2015-05-11 10:50:17 -04:00
2015-07-11 23:25:16 -07:00
2015-06-04 15:44:30 -07:00
2015-06-04 12:27:15 +02:00
2015-07-10 23:25:24 -07:00
2015-07-03 09:52:38 -07:00
2015-05-11 10:50:17 -04:00
2015-05-25 17:46:21 -04:00
2015-05-11 10:50:17 -04:00
2015-06-24 16:49:49 -07:00
2015-05-11 10:50:18 -04:00
2015-05-11 10:50:17 -04:00
2015-07-17 14:39:42 +02:00
2015-06-24 16:49:49 -07:00
2015-06-13 23:56:52 -07:00
2015-07-02 17:59:33 +02:00
2015-07-03 09:27:43 -07:00
2015-06-18 21:14:32 +02:00
2015-06-15 18:10:37 +02:00
2015-06-08 20:06:56 -07:00
2015-06-24 02:58:51 -07:00
2015-05-11 10:50:17 -04:00
2015-07-03 09:27:42 -07:00
2015-05-29 13:13:45 +02:00
2015-06-24 02:58:51 -07:00
2015-05-11 10:50:17 -04:00
2015-06-25 05:23:02 -07:00
2015-06-29 09:28:42 -07:00
2015-07-02 11:32:23 -07:00
2015-07-11 21:29:55 -07:00
2015-07-08 16:08:23 -07:00
2015-06-10 22:49:20 -07:00
2015-05-11 10:50:17 -04:00
2015-07-17 14:37:23 +02:00
2015-05-11 10:50:17 -04:00
2015-06-24 16:49:49 -07:00
2015-04-09 00:02:26 -04:00
2015-05-14 01:10:05 -04:00
2015-05-11 10:50:17 -04:00