diffstat for belle-sip-5.3.105+dfsg belle-sip-5.3.105+dfsg

 changelog                                                              |    7 ++
 patches/0001-Fix-string-size-taking-into-account-the-0-character.patch |   34 ++++++++++
 patches/series                                                         |    1 
 3 files changed, 42 insertions(+)

diff -Nru belle-sip-5.3.105+dfsg/debian/changelog belle-sip-5.3.105+dfsg/debian/changelog
--- belle-sip-5.3.105+dfsg/debian/changelog	2025-03-17 18:01:30.000000000 +0200
+++ belle-sip-5.3.105+dfsg/debian/changelog	2025-11-23 07:15:49.000000000 +0200
@@ -1,3 +1,10 @@
+belle-sip (5.3.105+dfsg-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for FTBFS with GCC 15. (Closes: #1114063)
+
+ -- Adrian Bunk <bunk@debian.org>  Sun, 23 Nov 2025 07:15:49 +0200
+
 belle-sip (5.3.105+dfsg-4) unstable; urgency=medium
 
   * Team upload
diff -Nru belle-sip-5.3.105+dfsg/debian/patches/0001-Fix-string-size-taking-into-account-the-0-character.patch belle-sip-5.3.105+dfsg/debian/patches/0001-Fix-string-size-taking-into-account-the-0-character.patch
--- belle-sip-5.3.105+dfsg/debian/patches/0001-Fix-string-size-taking-into-account-the-0-character.patch	1970-01-01 02:00:00.000000000 +0200
+++ belle-sip-5.3.105+dfsg/debian/patches/0001-Fix-string-size-taking-into-account-the-0-character.patch	2025-11-23 07:15:18.000000000 +0200
@@ -0,0 +1,34 @@
+From e01d007009a80525ce82b6dae2caa59a54bdc4ab Mon Sep 17 00:00:00 2001
+From: Andrea Gianarda <andrea.gianarda@belledonne-communications.com>
+Date: Wed, 14 May 2025 11:33:50 +0200
+Subject: Fix string size taking into account the '\0'-character
+
+---
+ src/dns/dns.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/dns/dns.c b/src/dns/dns.c
+index 55a77f07..42efbaae 100644
+--- a/src/dns/dns.c
++++ b/src/dns/dns.c
+@@ -2790,7 +2790,7 @@ int dns_aaaa_cmp(const struct dns_aaaa *a, const struct dns_aaaa *b) {
+ } /* dns_aaaa_cmp() */
+ 
+ size_t dns_aaaa_arpa(void *_dst, size_t lim, const struct dns_aaaa *aaaa) {
+-	static const unsigned char hex[16] = "0123456789abcdef";
++	static const unsigned char hex[17] = "0123456789abcdef";
+ 	struct dns_buf dst = DNS_B_INTO(_dst, lim);
+ 	unsigned nyble;
+ 	int i, j;
+@@ -3382,7 +3382,7 @@ int dns_sshfp_cmp(const struct dns_sshfp *a, const struct dns_sshfp *b) {
+ } /* dns_sshfp_cmp() */
+ 
+ size_t dns_sshfp_print(void *_dst, size_t lim, struct dns_sshfp *fp) {
+-	static const unsigned char hex[16] = "0123456789abcdef";
++	static const unsigned char hex[17] = "0123456789abcdef";
+ 	struct dns_buf dst = DNS_B_INTO(_dst, lim);
+ 	size_t i;
+ 
+-- 
+2.30.2
+
diff -Nru belle-sip-5.3.105+dfsg/debian/patches/series belle-sip-5.3.105+dfsg/debian/patches/series
--- belle-sip-5.3.105+dfsg/debian/patches/series	2025-03-17 15:17:40.000000000 +0200
+++ belle-sip-5.3.105+dfsg/debian/patches/series	2025-11-23 07:15:45.000000000 +0200
@@ -2,3 +2,4 @@
 fix-pkg-config.patch
 use-system-antlr3c
 define-project-version.patch
+0001-Fix-string-size-taking-into-account-the-0-character.patch
