Johannes Berg
5b0ec94f9c
mac80211: fix memory leak in register_hw() error path
...
Move the internal scan request allocation below the last
sanity check in ieee80211_register_hw() to avoid leaking
memory if the sanity check actually triggers.
Reported-by: ZHAO Gang <gamerh2o@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2014-01-06 16:02:34 +01:00
..
2013-10-11 15:38:20 +02:00
2013-10-11 15:38:20 +02:00
2013-12-18 10:33:06 +01:00
2013-12-18 10:33:06 +01:00
2013-01-18 21:55:15 +01:00
2013-01-24 15:43:51 +01:00
2013-12-30 23:14:03 +01:00
2007-10-10 16:52:34 -07:00
2013-12-19 13:33:33 +01:00
2013-10-28 15:05:28 +01:00
2013-03-18 20:10:04 +01:00
2010-12-13 15:23:29 -05:00
2014-01-06 15:47:15 +01:00
2009-12-21 18:38:52 -05:00
2013-12-02 11:51:50 +01:00
2008-03-06 15:30:46 -05:00
2013-12-02 11:51:50 +01:00
2012-10-18 09:01:57 +02:00
2013-12-16 11:29:44 +01:00
2009-07-10 15:01:49 -04:00
2013-10-28 15:05:11 +01:00
2013-12-19 13:33:33 +01:00
2013-12-19 16:30:58 +01:00
2013-12-19 13:33:33 +01:00
2013-10-28 15:05:28 +01:00
2013-12-16 11:29:48 +01:00
2013-12-16 11:29:48 +01:00
2013-08-01 10:48:49 +02:00
2013-08-01 10:48:49 +02:00
2014-01-06 16:02:34 +01:00
2013-02-04 18:57:47 +01:00
2013-11-25 20:51:55 +01:00
2013-11-25 20:51:55 +01:00
2013-11-25 20:51:53 +01:00
2013-11-25 20:51:53 +01:00
2013-12-16 14:21:22 +01:00
2013-12-16 14:21:22 +01:00
2013-11-25 20:51:55 +01:00
2008-07-08 14:16:01 -04:00
2008-07-08 14:16:01 -04:00
2013-12-19 13:33:33 +01:00
2013-09-30 12:36:56 +02:00
2013-12-16 11:29:45 +01:00
2013-10-15 15:16:29 +02:00
2013-12-02 14:25:38 -05:00
2013-04-17 17:08:23 +02:00
2013-11-25 20:52:07 +01:00
2013-12-18 10:33:06 +01:00
2013-04-22 16:16:41 +02:00
2013-12-18 10:33:06 +01:00
2013-04-22 16:16:41 +02:00
2013-07-16 09:58:02 +03:00
2013-10-01 12:16:51 +02:00
2011-03-31 11:26:23 -03:00
2013-12-16 11:23:45 +01:00
2013-12-16 13:47:26 +01:00
2013-11-25 16:50:13 +01:00
2014-01-06 15:58:10 +01:00
2013-12-16 11:29:47 +01:00
2013-12-02 11:51:50 +01:00
2013-12-18 10:33:06 +01:00
2011-07-08 11:11:19 -04:00
2012-06-24 11:33:18 +02:00
2014-01-06 12:09:01 +01:00
2013-12-18 10:33:06 +01:00
2013-12-19 13:37:46 +01:00
2013-11-25 20:52:01 +01:00
2013-05-16 22:39:41 +02:00
2012-03-13 14:54:16 -04:00
2013-12-19 16:30:58 +01:00
2012-06-20 17:35:22 +02:00
2013-11-25 20:50:52 +01:00
2013-11-25 20:50:52 +01:00