]> 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)
commit2ced0c2672977d91dc5182e735d21c0a2c4fc6a0
treedf34ff9e894db235832b0b0178b2f6333fc59ab2
parent2955b0a2ceb02ba2e5d5fc23d853b18ddd3aec9d
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