Skip to content
Commit a48a52b7 authored by Johannes Berg's avatar Johannes Berg
Browse files

cfg80211: fully initialize old channel for event



Paul reported that he got a report about undefined behaviour
that seems to me to originate in using uninitialized memory
when the channel structure here is used in the event code in
nl80211 later.

He never reported whether this fixed it, and I wasn't able
to trigger this so far, but we should do the right thing and
fully initialize the on-stack structure anyway.

Reported-by: default avatarPaul Menzel <pmenzel+linux-wireless@molgen.mpg.de>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 8155aedf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment