]> 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)
commitefc2e05dafafadcdaaf5b2067da0da8ca733ee31
tree2d9e5ed15fe95d0edcb785027c51ec98363dd27d
parent9c12f763478274dc7d46635e3fb2eef880f4bd49
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