mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
nl80211: check nla_nest_start() return value
Coverity pointed out that we might dereference NULL later if nla_nest_start() returns a failure. This isn't really true since we'd bomb out before, but we should check the return value directly, so do that. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
9fe271af7d
commit
7fa322c878
1 changed files with 2 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue