[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aLqgJQP1M-YHbEpT@gaggiata.pivistrello.it>
Date: Fri, 5 Sep 2025 10:32:37 +0200
From: Francesco Dolcini <francesco@...cini.it>
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: Stefan Kerkmann <s.kerkmann@...gutronix.de>,
Brian Norris <briannorris@...omium.org>,
Francesco Dolcini <francesco@...cini.it>,
Johannes Berg <johannes.berg@...el.com>,
Sascha Hauer <s.hauer@...gutronix.de>,
Jeff Chen <jeff.chen_1@....com>, linux-wireless@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH next] wifi: mwifiex: fix double free in
mwifiex_send_rgpower_table()
On Fri, Sep 05, 2025 at 11:02:14AM +0300, Dan Carpenter wrote:
> The "hostcmd" is freed using cleanup.h, so calling kfree() will lead to
> a double free. Delete the kfree().
>
> Fixes: 7b6f16a25806 ("wifi: mwifiex: add rgpower table loading support")
> Signed-off-by: Dan Carpenter <dan.carpenter@...aro.org>
Reviewed-by: Francesco Dolcini <francesco.dolcini@...adex.com>
Francesco
Powered by blists - more mailing lists