Control: tags 1086581 + pending

Dear maintainer,

I've prepared an NMU for stringencoders (versioned as 3.10.3+git20180306-1.2) 
and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

Regards.


-- 
Jonathan Wiltshire                                      j...@debian.org
Debian Developer                         http://people.debian.org/~jmw

4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51
ed25519/0x196418AAEB74C8A1: CA619D65A72A7BADFC96D280196418AAEB74C8A1

diff -Nru stringencoders-3.10.3+git20180306/debian/changelog stringencoders-3.10.3+git20180306/debian/changelog
--- stringencoders-3.10.3+git20180306/debian/changelog	2020-03-22 10:49:25.000000000 +0000
+++ stringencoders-3.10.3+git20180306/debian/changelog	2024-12-30 19:53:36.000000000 +0000
@@ -1,3 +1,12 @@
+stringencoders (3.10.3+git20180306-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/patches/0005-numtoa-signing.patch:
+    fix FTBFS on riscv64 due to undefined signed integer overflow
+    Closes: #1086581
+
+ -- Jonathan Wiltshire <j...@debian.org>  Mon, 30 Dec 2024 19:53:36 +0000
+
 stringencoders (3.10.3+git20180306-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru stringencoders-3.10.3+git20180306/debian/patches/0005-numtoa-signing.patch stringencoders-3.10.3+git20180306/debian/patches/0005-numtoa-signing.patch
--- stringencoders-3.10.3+git20180306/debian/patches/0005-numtoa-signing.patch	1970-01-01 01:00:00.000000000 +0100
+++ stringencoders-3.10.3+git20180306/debian/patches/0005-numtoa-signing.patch	2024-12-30 19:53:36.000000000 +0000
@@ -0,0 +1,26 @@
+Subject: FTBFS with GCC14 due to undefined signed integer overflow
+Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086581
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086581
+Author: Aurelien Jarno <aure...@debian.org>
+Last-Update: 2024-12-30
+
+--- a/src/modp_numtoa.c
++++ b/src/modp_numtoa.c
+@@ -35,7 +35,7 @@
+ {
+     char* wstr = str;
+     /* Take care of sign */
+-    uint32_t uvalue = (value < 0) ? (uint32_t)(-value) : (uint32_t)(value);
++    uint32_t uvalue = (value < 0) ? -((uint32_t)value) : (uint32_t)(value);
+     /* Conversion. Number is reversed. */
+     do
+         *wstr++ = (char)(48 + (uvalue % 10));
+@@ -65,7 +65,7 @@
+ size_t modp_litoa10(int64_t value, char* str)
+ {
+     char* wstr = str;
+-    uint64_t uvalue = (value < 0) ? (uint64_t)(-value) : (uint64_t)(value);
++    uint64_t uvalue = (value < 0) ? -((uint64_t)value) : (uint64_t)(value);
+ 
+     /* Conversion. Number is reversed. */
+     do
diff -Nru stringencoders-3.10.3+git20180306/debian/patches/series stringencoders-3.10.3+git20180306/debian/patches/series
--- stringencoders-3.10.3+git20180306/debian/patches/series	2020-03-22 10:49:25.000000000 +0000
+++ stringencoders-3.10.3+git20180306/debian/patches/series	2024-12-30 19:53:36.000000000 +0000
@@ -1,3 +1,4 @@
 0001-Disable-Werror-flag.patch
 0002-Fix-compile-error-on-some-platforms.patch
 0003-remove-unnecessary-includes-in-addition-to-adding-mo.patch
+0005-numtoa-signing.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to