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  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:   Sun, 31 May 2020 16:52:09 +0800 (GMT+08:00)
To:     "Markus Elfring" <>
        "Ben Skeggs" <>,
        "David Airlie" <>, "Kangjie Lu" <>
Subject: Re: Re: drm/nouveau/clk/gm20b: Fix memory leak in gm20b_clk_new()

> > For security, I will release this pointer only on error paths in this function.
> Do you tend to release objects (which are referenced by pointers)?

I just found that clk is referenced by pclk in this function. When clk is freed, 
pclk will be allocated in gm20b_clk_new_speedo0(). Thus we should not release clk
in this function and there is no bug here. Thank you for reminding me!


Powered by blists - more mailing lists