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>] [day] [month] [year] [list]
Date:	Tue, 28 Jun 2011 03:48:38 -0400
From:	Luming Yu <luming.yu@...il.com>
To:	LKML <linux-kernel@...r.kernel.org>
Cc:	Len Brown <lenb@...nel.org>
Subject: [PATCH] fix memory leak in acpi-cpufreq

Hi there,

I came across a memory leak problem found in cyclic cpu-online-offline test.
The inlined patch simple does this to fix it.

> b/drivers/cpufreq/acpi-cpufreq.c
>static void __exit acpi_cpufreq_exit(void)
>  	cpufreq_unregister_driver(&acpi_cpufreq_driver);
> -	free_percpu(acpi_perf_data);
>+	free_acpi_perf_data();

Ps. The patch is enclosed in attachment. The inline one
is c&p of it for reading.


Thanks,
Luming

Signed-off-by: Yu Luming <luming.yu@...el.com>

View attachment "acpi-cpufreq-memleak.patch" of type "text/x-diff" (407 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ