[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#276417: xterm removes variable TMPDIR from the child's process environment



Package: xterm
Version: 4.1.0-16woody1
Severity: important
Tags: security


xterm removes the environment variable TMPDIR from the process environment:

To reproduce the error, run the following command, which starts a xterm
showing the value of the TMPDIR environment variable:

$ env TMPDIR=/tmp xterm -hold -e printenv TMPDIR

As can be seen in that xterm:  TMPDIR has no value.

Compare it with the following variant, which shows the value of the tmpdir
environment variable:

$ env tmpdir=/tmp xterm -hold -e printenv tmpdir

This time, xterm displays the value, which is /tmp.


-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux kugelfisch 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686
Locale: LANG=C, LC_CTYPE=de_DE

Versions of packages xterm depends on:
ii  debconf                  1.0.32          Debian configuration management sy
ii  libc6                    2.2.5-11.5      GNU C Library: Shared libraries an
ii  libfreetype6             2.0.9-1         FreeType 2 font engine, shared lib
ii  libncurses5              5.2.20020112a-7 Shared libraries for terminal hand
ii  libxaw7                  4.1.0-16woody1  X Athena widget set library
ii  xlibs                    4.1.0-16woody1  X Window System client libraries

-- 
Wenn Sie mir E-Mail schreiben, stellen |  When writing me e-mail, please
Sie bitte vor meine E-Mail-Adresse     |  precede my e-mail address with
meinen Vor- und Nachnamen, etwa so:    |  my full name, like
Helmut Waitzmann <xxx@example.net>, (Helmut Waitzmann) xxx@example.net



Reply to: