public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bird] epel10.2: Add upstream patch to fix crash of 'show route for' when no network is found
@ 2026-06-16 12:28 Robert Scheck
  0 siblings, 0 replies; only message in thread
From: Robert Scheck @ 2026-06-16 12:28 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/bird
Branch : epel10.2
Commit : 702b228e06ec2c9978829c4f7fe47f1b0fb86f96
Author : Robert Scheck <robert@fedoraproject.org>
Date   : 2026-06-16T14:26:52+02:00
Stats  : +34/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/bird/c/702b228e06ec2c9978829c4f7fe47f1b0fb86f96?branch=epel10.2

Log:
Add upstream patch to fix crash of 'show route for' when no network is found

---
diff --git a/bird-3.3.1-show-route-for.patch b/bird-3.3.1-show-route-for.patch
new file mode 100644
index 0000000..4f8e255
--- /dev/null
+++ b/bird-3.3.1-show-route-for.patch
@@ -0,0 +1,27 @@
+From d1306a8d71aec820c672620fde70d5af4e30916d Mon Sep 17 00:00:00 2001
+From: Igor Putovny <igor.putovny@nic.cz>
+Date: Mon, 15 Jun 2026 20:41:14 +0200
+Subject: [PATCH] Nest: Fix crash of 'show route for' when no network is found
+
+Fixes: #444
+---
+ nest/rt-show.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/nest/rt-show.c b/nest/rt-show.c
+index a872a1180..7de4ffcfc 100644
+--- a/nest/rt-show.c
++++ b/nest/rt-show.c
+@@ -306,7 +306,8 @@ rt_show_cont(struct cli *c)
+ 	  break;
+       }
+ 
+-      rt_show_net(d, lpm);
++      if (lpm)
++	rt_show_net(d, lpm);
+     }
+   else
+     RT_FEED_WALK(&d->tab->req, f)
+-- 
+GitLab
+

diff --git a/bird.spec b/bird.spec
index 37f8de0..ff25585 100644
--- a/bird.spec
+++ b/bird.spec
@@ -2,7 +2,7 @@
 
 Name:             bird
 Version:          3.3.1
-Release:          1%{?dist}
+Release:          2%{?dist}
 Summary:          BIRD Internet Routing Daemon
 
 License:          GPL-2.0-or-later
@@ -11,6 +11,7 @@ Source0:          https://bird.nic.cz/download/bird-%{version}.tar.gz
 Source1:          bird.service
 Source2:          bird.tmpfilesd
 Source3:          bird.sysusersd
+Patch0:           https://gitlab.nic.cz/labs/bird/-/commit/d1306a8d71aec820c672620fde70d5af4e30916d.patch#/bird-3.3.1-show-route-for.patch
 
 BuildRequires:    flex
 BuildRequires:    bison
@@ -59,7 +60,7 @@ powerful language for route filtering.
 %endif
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 %configure --runstatedir=%{_rundir}/bird
@@ -111,6 +112,10 @@ make test
 %endif
 
 %changelog
+* Tue Jun 16 2026 Robert Scheck <robert@fedoraproject.org> - 3.3.1-2
+- Add upstream patch to fix crash of 'show route for' when no
+  network is found
+
 * Wed Jun 10 2026 Robert Scheck <robert@fedoraproject.org> - 3.3.1-1
 - Upgrade to 3.3.1 (#2487252)
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-16 12:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-16 12:28 [rpms/bird] epel10.2: Add upstream patch to fix crash of 'show route for' when no network is found Robert Scheck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox