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] epel8: Merge remote branch 'origin/main' into epel8
Date: Mon, 12 Oct 2026 22:18:49 GMT [thread overview]
Message-ID: <179184352992.1.13456185896623260382.rpms-bird-9d4d5f68e2fa@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/bird
Branch : epel8
Commit : 9d4d5f68e2fa7d8b165f0b3dfe0f2e193c2b4a5b
Author : Robert Scheck <robert@fedoraproject.org>
Date : 2026-10-13T00:18:35+02:00
Stats : +35/-2 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/bird/c/9d4d5f68e2fa7d8b165f0b3dfe0f2e193c2b4a5b?branch=epel8
Log:
Merge remote branch 'origin/main' into epel8
---
diff --git a/bird-3.4.0-bytestr-overflow.patch b/bird-3.4.0-bytestr-overflow.patch
new file mode 100644
index 0000000..7afd2e6
--- /dev/null
+++ b/bird-3.4.0-bytestr-overflow.patch
@@ -0,0 +1,29 @@
+Test: Fix stack overflow in bt_fmt_bytestr()
+
+bt_fmt_bytestr() allocates len + 1 bytes but writes two hex digits
+per byte plus a terminating NUL, overflowing the alloca() buffer.
+The formatter runs for every test case, not only on failure. On
+x86_64, alloca's 16-byte rounding usually hides the overflow; on
+s390x it smashes the stack and t_bstrhextobin/t_bstrbintohex fail.
+
+Allocate 2 * len + 1 bytes and print with %02x, so every byte is
+exactly two digits (the old %hx also dropped leading zeros).
+
+Fixes: 3567ebc03 ("Lib: Add tests for strtoul.c")
+
+--- bird-3.4.0/lib/strtoul_test.c 2026-10-12 08:04:16.000000000 +0000
++++ bird-3.4.0/lib/strtoul_test.c.bytestr-overflow 2026-10-12 21:48:12.603991062 +0000
+@@ -201,11 +201,11 @@
+ return;
+ }
+
+- char *tmp = allocz(data->len + 1);
++ char *tmp = allocz(2 * data->len + 1);
+ char *t = tmp;
+
+ for (int i = 0; i < data->len; i++)
+- t += bsprintf(t, "%hx", data->buf[i]);
++ t += bsprintf(t, "%02x", data->buf[i]);
+
+ snprintf(buf, size, "0x%s", tmp);
+ }
diff --git a/bird.spec b/bird.spec
index 08ec491..ccb7464 100644
--- a/bird.spec
+++ b/bird.spec
@@ -1,7 +1,7 @@
%global _hardened_build 1
Name: bird
-Version: 3.3.3
+Version: 3.4.0
Release: 1%{?dist}
Summary: BIRD Internet Routing Daemon
@@ -11,6 +11,7 @@ Source0: https://bird.nic.cz/download/bird-%{version}.tar.gz
Source1: bird.service
Source2: bird.tmpfilesd
Source3: bird.sysusersd
+Patch0: bird-3.4.0-bytestr-overflow.patch
BuildRequires: flex
BuildRequires: bison
@@ -111,6 +112,9 @@ make test
%endif
%changelog
+* Tue Oct 13 2026 Robert Scheck <robert@fedoraproject.org> - 3.4.0-1
+- Upgrade to 3.4.0 (#2549947)
+
* Mon Oct 05 2026 Robert Scheck <robert@fedoraproject.org> - 3.3.3-1
- Upgrade to 3.3.3 (#2545882)
diff --git a/sources b/sources
index 2e680d1..2bf0dfd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (bird-3.3.3.tar.gz) = 6e66f3bd095adb31d3112020925754664091b07b2c37beb255bbddfc789cf4d9a8c91e683250d8aaf12e4a79fafd1693babf1231ea4bec381cc3ce571dd8ab1b
+SHA512 (bird-3.4.0.tar.gz) = 38e0e452ebf725e12522630ced3b2a4d0dd65629b1abb8fdfc42e9cc39eb933db56a1382080f4cf8f34fe2f46a1801cd7fa81ecba89eae324ab2fbc42411b86c
next reply other threads:[~2026-10-12 22:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-12 22:18 Robert Scheck [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-10-05 20:44 [rpms/bird] epel8: Merge remote branch 'origin/main' into epel8 Robert Scheck
2026-07-31 1:19 Robert Scheck
2026-06-16 12:29 Robert Scheck
2026-06-09 22:09 Robert Scheck
2026-06-03 21:39 Robert Scheck
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=179184352992.1.13456185896623260382.rpms-bird-9d4d5f68e2fa@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