Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian....@packages.debian.org
Usertags: pu

Hi,

please unblock xkeycaps/2.47-4.1+deb9u1. It fixes a segfault if more
than 8 keysyms per key are present, which is apparently the case in
the default setup nowadays.

Christoph
No differences were encountered between the control files

diff -Nru xkeycaps-2.47/commands.c xkeycaps-2.47/commands.c
--- xkeycaps-2.47/commands.c	2005-02-22 23:33:15.000000000 +0100
+++ xkeycaps-2.47/commands.c	2018-11-21 10:08:41.000000000 +0100
@@ -440,6 +440,7 @@
 	      keysyms = XGetKeyboardMapping (XtDisplay (widget),
 					     key->key.keycode,
 					     1, &count);
+	      if (count > 8) count = 8; /* FIXME: we are only prepared for 8 names per key, clip here */
 	      if (! keysyms) count = 0;
 	      all [all_count].key = key;
 	      for (; count > 0; count--)
diff -Nru xkeycaps-2.47/debian/changelog xkeycaps-2.47/debian/changelog
--- xkeycaps-2.47/debian/changelog	2018-11-21 10:08:41.000000000 +0100
+++ xkeycaps-2.47/debian/changelog	2018-11-21 10:08:41.000000000 +0100
@@ -1,3 +1,10 @@
+xkeycaps (2.47-4.1+deb9u1) stretch; urgency=medium
+
+  * Prevent segfault in commands.c when more than 8 keysyms per key are
+    present. (Closes: #914262)
+
+ -- Christoph Berg <christoph.b...@credativ.de>  Wed, 21 Nov 2018 09:47:46 +0100
+
 xkeycaps (2.47-4.1) unstable; urgency=medium
 
   * Non-maintainer upload.

Attachment: signature.asc
Description: PGP signature

Reply via email to