lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4021e822699b44939f6a4731290e2627@realtek.com>
Date: Fri, 9 Aug 2024 08:49:32 +0000
From: Ping-Ke Shih <pkshih@...ltek.com>
To: Sascha Hauer <s.hauer@...gutronix.de>,
        Brian Norris
	<briannorris@...omium.org>,
        Francesco Dolcini <francesco@...cini.it>,
        "Kalle
 Valo" <kvalo@...nel.org>,
        Yogesh Ashok Powar <yogeshp@...vell.com>,
        Bing Zhao
	<bzhao@...vell.com>,
        "John W. Linville" <linville@...driver.com>,
        "Amitkumar
 Karwar" <akarwar@...vell.com>,
        Avinash Patil <patila@...vell.com>
CC: Kiran Divekar <dkiran@...vell.com>,
        "linux-wireless@...r.kernel.org"
	<linux-wireless@...r.kernel.org>,
        "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>,
        "kernel@...gutronix.de"
	<kernel@...gutronix.de>,
        "stable@...r.kernel.org" <stable@...r.kernel.org>
Subject: RE: [PATCH] mwifiex: duplicate static structs used in driver instances

Sascha Hauer <s.hauer@...gutronix.de> wrote:
> +       wiphy->bands[NL80211_BAND_2GHZ] = devm_kmemdup(adapter->dev,
> +                                                      &mwifiex_band_2ghz,
> +                                                      sizeof(mwifiex_band_2ghz),
> +                                                      GFP_KERNEL);

It seems like you forget to free the duplicate memory somewhere?


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ