public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Robert Scheck <robert@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/bird] main: Add upstream patch to fix crash of 'show route for' when no network is found
Date: Tue, 16 Jun 2026 12:27:16 GMT [thread overview]
Message-ID: <178161283682.1.1957869795959043555.rpms-bird-702b228e06ec@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/bird
Branch : main
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=main
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)
reply other threads:[~2026-06-16 12:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178161283682.1.1957869795959043555.rpms-bird-702b228e06ec@fedoraproject.org \
--to=robert@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox