Skip to content
Snippets Groups Projects
Commit 6ad27f52 authored by Jiasheng Jiang's avatar Jiasheng Jiang Committed by Johannes Berg
Browse files

nl80211: Handle nla_memdup failures in handle_nan_filter


As there's potential for failure of the nla_memdup(),
check the return value.

Fixes: a442b761 ("cfg80211: add add_nan_func / del_nan_func")
Signed-off-by: default avatarJiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20220301100020.3801187-1-jiasheng@iscas.ac.cn


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 5a6248c0
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment