commit | bf9d5d28aabc6e420a0b6fb3a24b93046878e864 | [log] [tgz] |
---|---|---|
author | Victor Goldenshtein <victorg@ti.com> | Tue Sep 17 18:41:25 2013 +0300 |
committer | Luciano Coelho <luciano.coelho@intel.com> | Mon Sep 30 21:12:20 2013 +0300 |
tree | b10200f4e0e73794b9b1a3bf4b195ffba26ba495 | |
parent | 0fe72086afcb3fa685ff8bfa8c975d826b245f25 [diff] |
wlcore: fix unsafe dereference of the wlvif wlvif could be passed as NULL from the wlcore_tx_work_locked() to the wl1271_prepare_tx_frame() and to wl1271_skb_queue_head() functions. This may lead to a Kernel panic, fix this by validating that wlvif != NULL. Signed-off-by: Victor Goldenshtein <victorg@ti.com> Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>