Re: [PATCH] mac80211_hwsim: Add missing check for HWSIM_ATTR_SIGNAL

2016-05-31 Thread Johannes Berg
On Fri, 2016-05-13 at 12:41 +0200, Martin Willi wrote: > A wmediumd that does not send this attribute causes a NULL pointer > dereference, as the attribute is accessed even if it does not exist. > > The attribute was required but never checked ever since userspace > frame > forwarding has been

[PATCH] mac80211_hwsim: Add missing check for HWSIM_ATTR_SIGNAL

2016-05-13 Thread Martin Willi
A wmediumd that does not send this attribute causes a NULL pointer dereference, as the attribute is accessed even if it does not exist. The attribute was required but never checked ever since userspace frame forwarding has been introduced. The issue gets more problematic once we allow wmediumd