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
| ||
|
Message-ID: <20171212222359.GM8318@piout.net> Date: Tue, 12 Dec 2017 23:23:59 +0100 From: Alexandre Belloni <alexandre.belloni@...e-electrons.com> To: Colin King <colin.king@...onical.com> Cc: Alessandro Zummo <a.zummo@...ertech.it>, Maxime Ripard <maxime.ripard@...e-electrons.com>, Chen-Yu Tsai <wens@...e.org>, linux-rtc@...r.kernel.org, linux-arm-kernel@...ts.infradead.org, kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH] rtc: sun6i: ensure rtc is kfree'd on error On 22/11/2017 at 17:16:18 +0000, Colin King wrote: > From: Colin Ian King <colin.king@...onical.com> > > The error return path on clk_data allocation failure does not kfree > the allocated rtc object. Fix this with a kfree of rtc on the error > exit path. > > Detected by CoverityScan, CID#1452264 ("Resource Leak") > > Signed-off-by: Colin Ian King <colin.king@...onical.com> > --- > drivers/rtc/rtc-sun6i.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
Powered by blists - more mailing lists