aboutsummaryrefslogtreecommitdiff
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-03-20 17:57:36 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-03-20 16:01:57 -0400
commitf3f9258678b081c3ef2f036aef450cd2053ef419 (patch)
treea1c619e776cdea71943429dffbbaa87b0a7c7999 /lib/fault-inject.c
parent170ebf85160dd128e1c4206cc197cce7d1424705 (diff)
nl80211: Check that function pointer != NULL before using it
NL80211_CMD_GET_MESH_PARAMS and NL80211_CMD_SET_MESH_PARAMS handlers did not verify whether a function pointer is NULL (not supported by the driver) before trying to call the function. The former nl80211 command is available for unprivileged users, too, so this can potentially allow normal users to kill networking (or worse..) if mac80211 is built without CONFIG_MAC80211_MESH=y. Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions