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

Bug#191654: apt-extracttemplates does not even honour TEMP, TMP, TMPDIR, whatever



Package: apt
Version: 0.5.4
Severity: normal

joey@dragon:~>apt-extracttemplates
debian/unstable/debconf_1.2.35_all.deb    
Check ,1.2.35
debconf 1.2.35 /tmp/template.280020 /tmp/config.280021

I have TMP, TMPDIR, and TEMP all pointing to ~/tmp/. It's rather bad
that apt-extracttemplates does not honour them.

<wiggy> TMPDIR perhaps?
<wiggy> #define TMPDIR          "/tmp"
<wiggy> heh, it doesn't even bother to check environment

For some inspiration, consider bug #174307 and what fun it would be if
that were used to replace a config script with code written by an
attacker. See also bug #116448.

I think wiggy has a patch for this.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux dragon 2.4.20 #1 Fri Apr 11 22:52:20 EDT 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages apt depends on:
ii  libc6                        2.3.1-17    GNU C Library: Shared libraries an
ii  libstdc++2.10-glibc2.2       1:2.95.4-17 The GNU stdc++ library

-- no debconf information

-- 
see shy jo

Attachment: pgp_T2rWLt3Ub.pgp
Description: PGP signature


Reply to: