]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: check nla_parse() return values
authorJohannes Berg <johannes.berg@intel.com>
Fri, 24 Jan 2014 09:17:47 +0000 (10:17 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Feb 2014 20:57:56 +0000 (21:57 +0100)
commit602ac7365e0a9d64c030eaca7f5e69ee5f62dac7
treedf34ff9e894db235832b0b0178b2f6333fc59ab2
parent7efd5b8e5a86a5d42410074a066ba296dee69dd0
nl80211: check nla_parse() return values

If there's a policy, then nla_parse() return values must be
checked, otherwise the policy is useless and there's nothing
that ensures the attributes are actually what we expect them
to be.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c