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] [day] [month] [year] [list]
Message-Id: <172554672712.1074347.2449586209838548923.b4-ty@collabora.com>
Date: Thu, 05 Sep 2024 16:32:07 +0200
From: Sebastian Reichel <sebastian.reichel@...labora.com>
To: Dimitri Fedrau <dima.fedrau@...il.com>, 
 Dan Carpenter <dan.carpenter@...aro.org>
Cc: Sebastian Reichel <sre@...nel.org>, linux-pm@...r.kernel.org, 
 linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH next] power: supply: fix a double free on error in
 probe()


On Thu, 05 Sep 2024 16:28:59 +0300, Dan Carpenter wrote:
> In this code, if devm_add_action_or_reset() fails, it will call
> max1720x_unregister_ancillary() which in turn calls
> i2c_unregister_device().  Thus the call to i2c_unregister_device() on the
> following line is not required and is a double unregister.  Delete it.
> 
> 

Applied, thanks!

[1/1] power: supply: fix a double free on error in probe()
      commit: 48f703d6a3d7cf345fe9c6209ea3703fe9024628

Best regards,
-- 
Sebastian Reichel <sebastian.reichel@...labora.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ