Debian Bug report logs - #839220
xterm: Using allowC1Printable (-k8) can disable UTF-8 support

version graph

Package: xterm; Maintainer for xterm is Debian X Strike Force <[email protected]>; Source for xterm is src:xterm (PTS, buildd, popcon).

Reported by: Vincent Lefevre <[email protected]>

Date: Fri, 30 Sep 2016 09:27:02 UTC

Severity: important

Found in version xterm/326-1

Fixed in version xterm/327-1

Done: Sven Joachim <[email protected]>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian X Strike Force <[email protected]>:
Bug#839220; Package xterm. (Fri, 30 Sep 2016 09:27:04 GMT) (full text, mbox, link).


Acknowledgement sent to Vincent Lefevre <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian X Strike Force <[email protected]>. (Fri, 30 Sep 2016 09:27:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Vincent Lefevre <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: xterm: Using allowC1Printable (-k8) can disable UTF-8 support
Date: Fri, 30 Sep 2016 11:24:53 +0200
Package: xterm
Version: 326-1
Severity: important

If allowC1Printable (-k8 option) is used, then UTF-8 support can be
disabled if some escape sequence (e.g. from a binary file) is sent,
which can make the terminal unusable. Example:

  xterm -k8 -hold -e printf "\x1b\xa5@\xc3\xa9\n"

which shows "é" instead of "é". And with Ctrl + right click, one can
see that "UTF-8 Encoding" is no longer set.

The xterm(1) man page just says:

    -k8    This option sets the allowC1Printable resource.  When
           allowC1Printable is set, xterm overrides the mapping of C1
           control characters (code 128-159) to treat them as printable.

So, this option should be regarded as safe.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/12 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages xterm depends on:
ii  libc6           2.24-3
ii  libfontconfig1  2.11.0-6.7
ii  libice6         2:1.0.9-1+b1
ii  libtinfo5       6.0+20160917-1
ii  libutempter0    1.1.6-3
ii  libx11-6        2:1.6.3-1
ii  libxaw7         2:1.0.13-1
ii  libxft2         2.3.2-1
ii  libxinerama1    2:1.1.3-1+b1
ii  libxmu6         2:1.1.2-2
ii  libxpm4         1:3.5.11-1+b1
ii  libxt6          1:1.1.5-1
ii  xbitmaps        1.1.1-2

Versions of packages xterm recommends:
ii  x11-utils  7.7+3

Versions of packages xterm suggests:
pn  xfonts-cyrillic  <none>

-- no debconf information



Reply sent to Sven Joachim <[email protected]>:
You have taken responsibility. (Sun, 09 Oct 2016 10:15:10 GMT) (full text, mbox, link).


Notification sent to Vincent Lefevre <[email protected]>:
Bug acknowledged by developer. (Sun, 09 Oct 2016 10:15:10 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Sven Joachim <[email protected]>
To: [email protected]
Subject: Bug#839220: fixed in xterm 327-1
Date: Sun, 09 Oct 2016 10:12:26 +0000
Source: xterm
Source-Version: 327-1

We believe that the bug you reported is fixed in the latest version of
xterm, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sven Joachim <[email protected]> (supplier of updated xterm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 09 Oct 2016 11:25:56 +0200
Source: xterm
Binary: xterm
Architecture: source
Version: 327-1
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force <[email protected]>
Changed-By: Sven Joachim <[email protected]>
Description:
 xterm      - X terminal emulator
Closes: 738794 839220
Changes:
 xterm (327-1) unstable; urgency=medium
 .
   * New upstream release.
     - Add a check in the function which handles end-of-line wrapping
       to ensure that C1 controls are allocated one column when
       allowC1Printable is set (Closes: #738794).
     - Modify allowC1Printable to disallow codes 160-254 as being equivalent
       to codes 32-126 when parsing escape sequences (Closes: #839220).
Checksums-Sha1:
 3b2e50a96dbb888021ddc9d569dc88fdb53f9f39 2078 xterm_327-1.dsc
 4dffabe5662ee19611860b7d8284f237616d0b82 1240131 xterm_327.orig.tar.gz
 0c15ab16027693569dc9a0991f9e38b570a32638 113753 xterm_327-1.diff.gz
Checksums-Sha256:
 8b9d9aded963005523dcee9cd0b7e977417dc52f07c2b152746174497c26b692 2078 xterm_327-1.dsc
 66fb2f6c35b342148f549c276b12a3aa3fb408e27ab6360ddec513e14376150b 1240131 xterm_327.orig.tar.gz
 18ec87f74123f66040b13c5e9afe25aba7fae68534b5cb4e21fd447255feb1d4 113753 xterm_327-1.diff.gz
Files:
 d77a1b0fce645710d7f431d23c9f1036 2078 x11 optional xterm_327-1.dsc
 3c32e931adcad44e64e57892e75d9e02 1240131 x11 optional xterm_327.orig.tar.gz
 b6297b512d0fd8277cb75d33f5d7ea38 113753 x11 optional xterm_327-1.diff.gz

-----BEGIN PGP SIGNATURE-----

iQItBAEBCgAXBQJX+g1UEBxzdmVuam9hY0BnbXguZGUACgkQOxBucY1rMazb1hAA
oFYdBAm9itVhmzROTHUGtFGm5YyIzpCP2IpXBFeml14xhs+Z14DOb6jY1PYr8G7n
S4jFOpe7opjCYz1j/TB0SyCqZAi2L2ZxeGeiOLf+MPYvUbdyXTRGbBljeauU+Y4h
dd1hWP3mwEHXoE7XTsBioMwAUMRMVlXLshIr2YXo7ZXT6kn4gBejS3Lql7e8ODq1
c+V/3eO/BDS61qBjY+k9dbgk+2fAWXVBykeUQjtiAyKQRQkzc0Q11ueegNPTguIG
luS/GHj7jmVwgvLs/KqUDWrTay9807j6+bD+w9KTPuDE+V8klpb3qdzDZo5JC60Z
fiWMDU/IL0jCSt1eUp9DVKobvftTYdawbu3t/ehthPYcRqF9XviUuFeVR34yIZkh
8wc3y20oeDnn6btYaT81xjH4xcweaEQU+jTiHR2R24m0KMQvwrocVip/ldIXDxhc
TE08sUO7vf14jfrG56LOnk3pfMVQ+QhJAKlVnj2fq22tcLrJzW1OAx1U0+wf1ppO
BaiNbwkk6KzjLKuLJguQpLU4URidyTKE9s5pBvgPTKFgB5SqasfpnryZAX3ZGKZv
GyIfLZymL3nqxW+tnPztCFEFQEhRn3fPM7SH7ZXOC+Brsp3MaG9xzsEHPVML34jK
c4Qbw6tvKnjWnBSbKNLsvLcXCKPHJ8BkIUilTQehIWo=
=N7iF
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <[email protected]> to [email protected]. (Sat, 12 Nov 2016 07:27:37 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu Nov 14 09:17:22 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.