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]
Date:   Thu, 14 Apr 2022 17:31:10 +0800
From:   baihaowen <baihaowen@...zu.com>
To:     Sergey Shtylyov <s.shtylyov@....ru>,
        Geert Uytterhoeven <geert+renesas@...der.be>,
        Michael Turquette <mturquette@...libre.com>,
        Stephen Boyd <sboyd@...nel.org>
CC:     <linux-renesas-soc@...r.kernel.org>, <linux-clk@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH V2] clk: renesas: Fix memory leak of 'cpg'

在 4/14/22 5:29 PM, Sergey Shtylyov 写道:
> Hello!
>
> On 4/13/22 11:19 AM, Haowen Bai wrote:
>
>> Fix this issue by freeing the cpg when exiting the function in the
>> error/normal path.
>>
>> Signed-off-by: Haowen Bai <baihaowen@...zu.com>
>> ---
>> V1->V2: free both cpg&clks.
>>
>>  drivers/clk/renesas/clk-r8a73a4.c | 5 ++++-
>>  1 file changed, 4 insertions(+), 1 deletion(-)
>    2 patches with the same name won't do -- you always need to include the chip name
> part of the file name in the subject (in this case r8a73a4).
>
> MBR, Sergey
Got it, thank you for your kindly reminder.

-- 
Haowen Bai

Powered by blists - more mailing lists