diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2022-03-01 13:00:20 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-03-01 13:15:08 +0300 |
commit | 6ad27f522cb3b210476daf63ce6ddb6568c0508b (patch) | |
tree | 2228a67af8007299f1bd419844cd9d3edab51813 /net/mac80211 | |
parent | 5a6248c0a22352f09ea041665d3bd3e18f6f872c (diff) | |
download | linux-6ad27f522cb3b210476daf63ce6ddb6568c0508b.tar.xz |
nl80211: Handle nla_memdup failures in handle_nan_filter
As there's potential for failure of the nla_memdup(),
check the return value.
Fixes: a442b761b24b ("cfg80211: add add_nan_func / del_nan_func")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20220301100020.3801187-1-jiasheng@iscas.ac.cn
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions