Control: tags 1012888 + patch Control: tags 1012888 + pending Dear maintainer,
I've prepared an NMU for acm (versioned as 6.0+20200416-1.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Regards, Reiner
diff -Nru acm-6.0+20200416/debian/changelog acm-6.0+20200416/debian/changelog --- acm-6.0+20200416/debian/changelog 2020-11-17 12:52:56.000000000 +0100 +++ acm-6.0+20200416/debian/changelog 2022-10-15 18:55:51.000000000 +0200 @@ -1,3 +1,12 @@ +acm (6.0+20200416-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Make sure that objects are built reproducibly with the same build flags + (provided by dpkg-buildflags) and increase size of buffer for sprintf + output. (Closes: #1012888) + + -- Reiner Herrmann <rei...@reiner-h.de> Sat, 15 Oct 2022 18:55:51 +0200 + acm (6.0+20200416-1) unstable; urgency=medium * Switch to new upstream source, diff -Nru acm-6.0+20200416/debian/patches/fix_buffer_size.patch acm-6.0+20200416/debian/patches/fix_buffer_size.patch --- acm-6.0+20200416/debian/patches/fix_buffer_size.patch 1970-01-01 01:00:00.000000000 +0100 +++ acm-6.0+20200416/debian/patches/fix_buffer_size.patch 2022-10-15 18:55:51.000000000 +0200 @@ -0,0 +1,16 @@ +Author: Reiner Herrmann <rei...@reiner-h.de> +Bug-Debian: https://bugs.debian.org/1012888 +Description: Increase buffer size to have space for maximum possible output + VColor.c:91:9: note: ‘sprintf’ output between 8 and 11 bytes into a destination of size 8 + +--- a/src/V/VColor.c ++++ b/src/V/VColor.c +@@ -87,7 +87,7 @@ + + char * VColor_getName(VColor_Type *c) + { +- static char s[8]; ++ static char s[11]; + sprintf(s, "#%02u%02u%02u", c->red, c->green, c->blue); + return s; + } diff -Nru acm-6.0+20200416/debian/patches/hardening1.patch acm-6.0+20200416/debian/patches/hardening1.patch --- acm-6.0+20200416/debian/patches/hardening1.patch 2020-11-17 12:52:56.000000000 +0100 +++ acm-6.0+20200416/debian/patches/hardening1.patch 2022-10-15 18:55:51.000000000 +0200 @@ -85,3 +85,14 @@ return 0; } +--- a/src/V/Makefile ++++ b/src/V/Makefile +@@ -4,6 +4,8 @@ + CFLAGS := -Wall -Werror -g -fmax-errors=99 -Wuninitialized -Wmissing-prototypes -Wredundant-decls + LIBS := + ++include Makefile-include.txt ++ + .PHONY: all + all: + make Alib.o VColor.o VGlyph.o VObjects.o VPoly.o VRoman.o Vlib.o Vlibmath.o diff -Nru acm-6.0+20200416/debian/patches/series acm-6.0+20200416/debian/patches/series --- acm-6.0+20200416/debian/patches/series 2020-11-17 12:52:56.000000000 +0100 +++ acm-6.0+20200416/debian/patches/series 2022-10-15 18:55:51.000000000 +0200 @@ -3,3 +3,4 @@ set_default_object_dir.patch fix_paths_in_acm_tcl.patch hardening1.patch +fix_buffer_size.patch