linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] brcm80211: Misc coverity fixes
@ 2016-07-18 23:24 Florian Fainelli
  2016-07-18 23:24 ` [PATCH 1/4] brcmfmac: Fix glob_skb leak in brcmf_sdiod_recv_chain Florian Fainelli
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Florian Fainelli @ 2016-07-18 23:24 UTC (permalink / raw)
  To: brcm80211-dev-list.pdl
  Cc: linux-wireless, pieterpg, kvalo, arend.vanspriel, hante.meuleman,
	Florian Fainelli

Hi,

This patch series addresses several coverity issues, they all seemed relevant
to me.

There is also a ton of warnings in Coverity caused by brcmf_fil_iovar_int_get()
and friends because of the initial access:

__le32 data_le = cpu_to_le32(*data) which can utilize unitialized memory. I am
not sure if we actually care about any kind of initial, value, but if we don't,
then the fix should be fairly obvious.

Thanks!


Florian Fainelli (4):
  brcmfmac: Fix glob_skb leak in brcmf_sdiod_recv_chain
  brcmsmac: Free packet if dma_mapping_error() fails in dma_rxfill
  brcmsmac: Fix invalid memcpy() size in brcms_c_d11hdrs_mac80211
  brcmsmac: Initialize power in brcms_c_stf_ss_algo_channel_get()

 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c | 4 +++-
 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c    | 4 +++-
 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c   | 2 +-
 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c    | 2 +-
 4 files changed, 8 insertions(+), 4 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2016-07-19 20:10 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-18 23:24 [PATCH 0/4] brcm80211: Misc coverity fixes Florian Fainelli
2016-07-18 23:24 ` [PATCH 1/4] brcmfmac: Fix glob_skb leak in brcmf_sdiod_recv_chain Florian Fainelli
2016-07-19 10:19   ` Arend Van Spriel
2016-07-19 18:14   ` [1/4] " Kalle Valo
2016-07-18 23:24 ` [PATCH 2/4] brcmsmac: Free packet if dma_mapping_error() fails in dma_rxfill Florian Fainelli
2016-07-19  9:25   ` Arend Van Spriel
2016-07-18 23:24 ` [PATCH 3/4] brcmsmac: Fix invalid memcpy() size in brcms_c_d11hdrs_mac80211 Florian Fainelli
2016-07-19 10:38   ` Arend Van Spriel
2016-07-19 12:40     ` Kalle Valo
2016-07-19 16:42     ` Florian Fainelli
2016-07-19 18:26       ` Arend Van Spriel
2016-07-18 23:24 ` [PATCH 4/4] brcmsmac: Initialize power in brcms_c_stf_ss_algo_channel_get() Florian Fainelli
2016-07-19 10:26   ` Arend Van Spriel
2016-07-19  9:20 ` [PATCH 0/4] brcm80211: Misc coverity fixes Arend Van Spriel
2016-07-19 16:41   ` Florian Fainelli
2016-07-19 18:21     ` Arend Van Spriel
2016-07-19 18:30       ` Florian Fainelli
2016-07-19 19:36         ` Arend Van Spriel
2016-07-19 20:09           ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).