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: <ZTpY+0PAApDo/2Om@smile.fi.intel.com>
Date:   Thu, 26 Oct 2023 15:18:03 +0300
From:   Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To:     Hangyu Hua <hbh25y@...il.com>
Cc:     kristo@...nel.org, mturquette@...libre.com, sboyd@...nel.org,
        tony@...mide.com, claudiu.beznea@...rochip.com, robh@...nel.org,
        dario.binacchi@...rulasolutions.com, linux-omap@...r.kernel.org,
        linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ti: fix possible memory leak in _ti_omap4_clkctrl_setup

On Wed, Oct 25, 2023 at 05:07:41PM +0800, Hangyu Hua wrote:
> kstrndup and kstrdup_and_replace in clkctrl_get_name can perform

kstrndup()
kstrdup_and_replace()
clkctrl_get_name()

> dynamic memory allocation. So clkctrl_name needs to be freed when
> provider->clkdm_name is NULL.

-- 
With Best Regards,
Andy Shevchenko


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ