On Sun, Aug 29 2021, Jeremie Courreges-Anglas <j...@wxcvbn.org> wrote:
> New LTS release:
> https://lists.gnupg.org/pipermail/gnupg-announce/2021q3/000463.html
>
> Works for me on amd64 and sparc64.  ok?

btw, unrelated to this update I found this old patch lying on one of my
machines.  It currently avoids a warning in /var/log/messages and
a crash/hard error once we decide to stop supporting printf("%n").
Dunno why I haven't submitted it already.

ok?


Index: patches/patch-doc_mkdefsinc_c
===================================================================
RCS file: patches/patch-doc_mkdefsinc_c
diff -N patches/patch-doc_mkdefsinc_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-doc_mkdefsinc_c       29 Aug 2021 10:28:22 -0000
@@ -0,0 +1,19 @@
+$OpenBSD$
+
+Don't use printf %n.
+
+Index: doc/mkdefsinc.c
+--- doc/mkdefsinc.c.orig
++++ doc/mkdefsinc.c
+@@ -286,8 +286,9 @@ main (int argc, char **argv)
+         }
+       n = strlen (opt_date) + strlen (month) + 2 + 1;
+       p = xmalloc (n);
+-      snprintf (p, n, "%d %n%s %d",
+-                atoi (opt_date+8), &monthoff, month, atoi (opt_date));
++      snprintf (p, n, "%d %s %d",
++                atoi (opt_date+8), month, atoi (opt_date));
++      monthoff = strchr (p, ' ') - p + 1;
+       xfree (opt_date);
+       opt_date = p;
+     }

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to