[PATCH 00/10] Miscellaneous fixes for issues found by Coverity Scan
Colin King
colin.king at canonical.com
Thu May 1 14:01:11 UTC 2014
From: Colin Ian King <colin.king at canonical.com>
I re-ran fwts through Coverity Scan 7.0.2 and found a few more resource
leaks and integer overflow issues that needed some attention.
Colin Ian King (10):
lib: fwts_acpi_tables: fix memory leak on error exit path
lib: fwts_button: free data after successful fwts_get()
pci: crs: fix memory leak on cmdline
lib: fwts_ac_adapter: fix memory leak
lib: fwts_formatting: fix memory leak
cpu: cpufreq: avoid division by zero ob cpu_top_speed
acpi: cstates: fix potential integer overflow
cpu: cpufreq: use uint64_t for CPU frequencies on HZ.
lib: fwts_framework: avoid division by zero in % calculations
lib: fwts_hwinfo: ensure buf.ifr_name is null terminated
src/acpi/cstates/cstates.c | 6 +++---
src/cpu/cpufreq/cpufreq.c | 45 ++++++++++++++++++++----------------------
src/lib/src/fwts_ac_adapter.c | 1 +
src/lib/src/fwts_acpi_tables.c | 4 +++-
src/lib/src/fwts_button.c | 1 +
src/lib/src/fwts_formatting.c | 2 ++
src/lib/src/fwts_framework.c | 7 ++++---
src/lib/src/fwts_hwinfo.c | 6 +++---
src/pci/crs/crs.c | 2 ++
9 files changed, 40 insertions(+), 34 deletions(-)
--
2.0.0.rc0
More information about the fwts-devel
mailing list