diff --git a/irqbalance-1.9.1-fix-uninitialized-variable.patch b/irqbalance-1.9.1-fix-uninitialized-variable.patch new file mode 100644 index 0000000..4245c98 --- /dev/null +++ b/irqbalance-1.9.1-fix-uninitialized-variable.patch @@ -0,0 +1,25 @@ +From 014765d947b3624db9d5591299ea315607733c3c Mon Sep 17 00:00:00 2001 +From: Neil Horman +Date: Wed, 19 Oct 2022 08:10:05 -0400 +Subject: [PATCH] Fix uninitialized variable + +Resolves https://github.com/Irqbalance/irqbalance/pull/240#issuecomment-1283741093 + +Signed-off-by: Neil Horman +--- + classify.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/classify.c b/classify.c +index 3858754..4ea4b44 100644 +--- a/classify.c ++++ b/classify.c +@@ -646,7 +646,7 @@ static void build_one_dev_entry(const char *dirname, int build_irq) + struct dirent *entry; + DIR *msidir; + int irqnum; +- struct irq_info hint; ++ struct irq_info hint = {0}; + char path[PATH_MAX]; + char devpath[PATH_MAX]; + diff --git a/irqbalance.spec b/irqbalance.spec index 4d6a926..05c3599 100644 --- a/irqbalance.spec +++ b/irqbalance.spec @@ -1,5 +1,5 @@ Name: irqbalance -Version: 1.9.0 +Version: 1.9.1 Release: 1%{?dist} Epoch: 2 Summary: IRQ balancing daemon @@ -7,6 +7,8 @@ License: GPLv2 URL: https://github.com/Irqbalance/irqbalance Source0: %{url}/archive/v%{version}/irqbalance-%{version}.tar.gz Patch1: irqbalance-1.9.0-environment-file-sysconfig.patch +# https://github.com/Irqbalance/irqbalance/issues/241 +Patch2: irqbalance-1.9.1-fix-uninitialized-variable.patch BuildRequires: autoconf automake libtool libcap-ng BuildRequires: glib2-devel pkgconf libcap-ng-devel @@ -60,6 +62,9 @@ make check %systemd_postun_with_restart irqbalance.service %changelog +* Wed Oct 19 2022 Timothée Ravier - 2:1.9.1-1 +- Update to 1.9.1 (fedora#2134603) + * Mon Aug 01 2022 Timothée Ravier - 2:1.9.0-1 - Update to 1.9.0 (fedora#1952715 fedora#2091169 fedora#2063926) - Fix EnvironmentFile location in systemd unit (fedora#2058510) diff --git a/sources b/sources index c56e2e2..9d091e0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (irqbalance-1.9.0.tar.gz) = 878977da5eff18e53bdceeaa4aca952f73ba8b03eb028cf176816af971ffc65f0b1f1bb3a68e3a2502491895cc2b9438652dc97d5696232bb2f64860109e9a24 +SHA512 (irqbalance-1.9.1.tar.gz) = ec2abd3aad61e5370ca13a767fb6b5b206b61f5751853995780dd62e1657d88d74819ff5838ad2599855c701ea5d53755bf108a5427469faa7b1f042351b6068