OSDN Git Service

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)
commit95bca62fb723a121954fc7ae5473bb2c1f0d5986
tree2d9e5ed15fe95d0edcb785027c51ec98363dd27d
parent188f60ab8e787fcbb5ac9d64ede23a0070231f09
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