Re: [PATCH] mac80211: Fix possible sband related NULL pointer de-reference (fwd)

2017-04-28 Thread Mohammed Shafi Shajakhan (Mohammed Shafi)
..@01.org Cc: Julia Lawall <julia.law...@lip6.fr> Subject: Re: [PATCH] mac80211: Fix possible sband related NULL pointer de-reference In-Reply-To: <1493277338-25726-1-git-send-email-moham...@qca.qualcomm.com> Hi Mohammed, [auto build test WARNING on mac80211/master] [also build test W

Re: [PATCH] mac80211: Fix possible sband related NULL pointer de-reference

2017-04-28 Thread Mohammed Shafi Shajakhan (Mohammed Shafi)
On Thu, 2017-04-27 at 12:45 +0530, Mohammed Shafi Shajakhan wrote: > From: Mohammed Shafi Shajakhan > > Existing API 'ieee80211_get_sdata_band' returns default 2 GHz band > even > if the channel context configuration is NULL. This crashes for > chipsets > which support

Re: [PATCH] mac80211: Fix possible sband related NULL pointer de-reference (fwd)

2017-04-28 Thread Johannes Berg
On Fri, 2017-04-28 at 12:06 +0200, Julia Lawall wrote: > Please check whether an unlock is missing on line 3009-3013. Yep, thanks. I'll fix it johannes

Re: [PATCH] mac80211: Fix possible sband related NULL pointer de-reference

2017-04-28 Thread Johannes Berg
On Thu, 2017-04-27 at 12:45 +0530, Mohammed Shafi Shajakhan wrote: > From: Mohammed Shafi Shajakhan > > Existing API 'ieee80211_get_sdata_band' returns default 2 GHz band > even > if the channel context configuration is NULL. This crashes for > chipsets > which support

[PATCH] mac80211: Fix possible sband related NULL pointer de-reference

2017-04-27 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan Existing API 'ieee80211_get_sdata_band' returns default 2 GHz band even if the channel context configuration is NULL. This crashes for chipsets which support 5 Ghz alone when it tries to access members of 'sband'. Channel context