Hello community, here is the log from the commit of package irqd for openSUSE:Factory checked in at 2014-08-13 08:48:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/irqd (Old) and /work/SRC/openSUSE:Factory/.irqd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "irqd" Changes: -------- --- /work/SRC/openSUSE:Factory/irqd/irqd.changes 2014-08-06 11:42:41.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.irqd.new/irqd.changes 2014-08-13 08:48:49.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Aug 10 15:47:20 UTC 2014 - [email protected] + +- Add irqd-uninitialized.diff to address an irqd crash + +------------------------------------------------------------------- New: ---- irqd-uninitialized.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ irqd.spec ++++++ --- /var/tmp/diff_new_pack.vIGFFe/_old 2014-08-13 08:48:50.000000000 +0200 +++ /var/tmp/diff_new_pack.vIGFFe/_new 2014-08-13 08:48:50.000000000 +0200 @@ -27,6 +27,7 @@ #Git-Clone: git://github.com/vaesoo/irqd Source: %name-%version.tar.xz Source3: irqd.service +Patch1: irqd-uninitialized.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -48,6 +49,7 @@ %prep %setup -qn %name +%patch -P 1 -p1 %build if [ ! -e configure ]; then ++++++ irqd-uninitialized.diff ++++++ >From a4cac47407d44acfbab2d5c715e619302aec4d26 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt <[email protected]> Date: Sun, 10 Aug 2014 17:45:16 +0200 Subject: [PATCH] Avoid calling if_queue_name() with uninitialized variable Status: submitted, waiting I suspect that 0 is a sensible default value for the "queue" variable in case strpbrk did not find anything, since an interface should always be having at least one queue (even if that maps to a noop). --- interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface.c b/interface.c index 5cd7047..0f1f520 100644 --- a/interface.c +++ b/interface.c @@ -740,7 +740,7 @@ irq_update_stats(const char *action, const struct irq_info *ii) struct if_queue_info *qi = NULL; enum ProcIrqAction pia; const char *tail; - int queue; + int queue = 0; if ((tail = strpbrk(action, "-[")) != NULL) { pia = parse_iface_irq_action_tail(tail, &queue); -- 2.0.0 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
