]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: check nla_parse_nested() return values
authorJohannes Berg <johannes.berg@intel.com>
Fri, 29 Jun 2018 07:33:39 +0000 (09:33 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 29 Jun 2018 07:44:51 +0000 (09:44 +0200)
commit2aacab2a06cd41cfa678bf75415e04297b176f66
tree2d9e5ed15fe95d0edcb785027c51ec98363dd27d
parent6fa187b2998f304f7d7794759a76edafd4efb380
nl80211: check nla_parse_nested() return values

At the very least we should check the return value if
nla_parse_nested() is called with a non-NULL policy.

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