Messages in this thread | | | Subject | Re: [PATCH RFC V2] nl80211: Fix init of cfg80211 channel definition | From | Stefan Wahren <> | Date | Sun, 29 Sep 2019 16:20:12 +0200 |
| |
Hi Johannes,
Am 29.09.19 um 16:12 schrieb Stefan Wahren: > The commit 2a38075cd0be ("nl80211: Add support for EDMG channels") > introduced a member to the cfg80211 channel definition. Unfortunately > the channel definitions are allocated on the stack and are not always > initialized via memset. Now this results in a broken probe of brcmfmac > driver, because cfg80211_chandef_valid() accesses uninitialized memory > and fail. Fix this by init the remaining occurences with memset. > > Reported-by: Dmitry Osipenko <digetx@gmail.com> > Signed-off-by: Stefan Wahren <wahrenst@gmx.net> > Fixes: 2a38075cd0be ("nl80211: Add support for EDMG channels") i oversight your patch. Sorry for the noise.
| |