Bug#342782: xterm -e ./cmd tries to find a wrong program cmd and crashes

2005-12-14 Thread David Martínez Moreno
El sábado, 10 de diciembre de 2005 19:51, Vincent Lefevre escribió:
 On 2005-12-10 10:31:38 -0500, Thomas Dickey wrote:
  This was fixed in patch #203:
 
  http://invisible-island.net/xterm/xterm.log.html#xterm_203
 
  Patch #203 - 2005/7/6 - XFree86 4.5.99.7
 
  amend change to command-line processing in patch #201 to avoid
  conflict with -e option (report by Servatius Brandt).

 Thanks, I have to remember to recompile the official version on this
 machine...

 I've just tried the Debian/unstable version (unfortunately reportbug
 didn't tell me that my version was out-of-date, as in the past) and it
 has the same problem. But it is #202 only; so, I'm not surprised.

You have #204 in experimental. Try it, it is safe.

Best regards,


Ender.
-- 
Los sistemas me pasado los correos de las personas contradas pero los 
@red.es.
-- Jesús Sanz de las Heras (RedIRIS).
--
Desarrollador de Debian
Debian developer


pgpD75P8jbYIl.pgp
Description: PGP signature


Bug#342782: xterm -e ./cmd tries to find a wrong program cmd and crashes

2005-12-10 Thread Vincent Lefevre
Package: xterm
Version: 6.8.2.dfsg.1-7
Severity: important

As shown by strace -f, xterm -e ./cmd tries to access cmd found in
$PATH (ignoring .) instead of cmd found in the current directory.

If cmd isn't found, xterm just segfaults. In particular, this breaks
rox, which tries to compile in an xterm with a command of the form
xterm -e ./relative_path_to/AppRun --compile.

If cmd is found, fortunately xterm doesn't seem to try to execute
this program (this would have been a security hole), but executes
the correct one.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (900, 'stable'), (200, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-20050829
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)

Versions of packages xterm depends on:
ii  libc6 2.3.5-8GNU C Library: Shared libraries an
ii  libexpat1 1.95.8-3   XML parsing C library - runtime li
ii  libfontconfig12.3.2-1generic font configuration library
ii  libfreetype6  2.1.7-2.4  FreeType 2 font engine, shared lib
ii  libice6   6.8.2.dfsg.1-7 Inter-Client Exchange library
ii  libncurses5   5.5-1  Shared libraries for terminal hand
ii  libsm66.8.2.dfsg.1-7 X Window System Session Management
ii  libxaw8   6.8.2.dfsg.1-7 X Athena widget set library
ii  libxext6  6.8.2.dfsg.1-7 X Window System miscellaneous exte
ii  libxft2   2.1.7-1FreeType-based font drawing librar
ii  libxmu6   6.8.2.dfsg.1-7 X Window System miscellaneous util
ii  libxp66.8.2.dfsg.1-7 X Window System printing extension
ii  libxpm4   6.8.2.dfsg.1-7 X pixmap library
ii  libxrender1   1:0.9.0-2  X Rendering Extension client libra
ii  libxt66.8.2.dfsg.1-7 X Toolkit Intrinsics
ii  xlibs 6.8.2.dfsg.1-7 X Window System client libraries m
ii  xlibs-data6.8.2.dfsg.1-7 X Window System client data

Versions of packages xterm recommends:
ii  xutils6.8.2.dfsg.1-7 X Window System utility programs

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#342782: xterm -e ./cmd tries to find a wrong program cmd and crashes

2005-12-10 Thread Thomas Dickey
On Sat, Dec 10, 2005 at 01:20:10PM +0100, Vincent Lefevre wrote:
 Package: xterm
 Version: 6.8.2.dfsg.1-7
 Severity: important
 
 As shown by strace -f, xterm -e ./cmd tries to access cmd found in
 $PATH (ignoring .) instead of cmd found in the current directory.

This was fixed in patch #203:

http://invisible-island.net/xterm/xterm.log.html#xterm_203

Patch #203 - 2005/7/6 - XFree86 4.5.99.7

amend change to command-line processing in patch #201 to avoid conflict
with -e option (report by Servatius Brandt).

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


pgpWDhkHvC5pV.pgp
Description: PGP signature


Bug#342782: xterm -e ./cmd tries to find a wrong program cmd and crashes

2005-12-10 Thread Vincent Lefevre
On 2005-12-10 10:31:38 -0500, Thomas Dickey wrote:
 This was fixed in patch #203:
 
 http://invisible-island.net/xterm/xterm.log.html#xterm_203
 
 Patch #203 - 2005/7/6 - XFree86 4.5.99.7
 
   amend change to command-line processing in patch #201 to avoid
   conflict with -e option (report by Servatius Brandt).

Thanks, I have to remember to recompile the official version on this
machine...

I've just tried the Debian/unstable version (unfortunately reportbug
didn't tell me that my version was out-of-date, as in the past) and it
has the same problem. But it is #202 only; so, I'm not surprised.

-- 
Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/
100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#342782: xterm -e ./cmd tries to find a wrong program cmd and crashes

2005-12-10 Thread Thomas Dickey
On Sat, Dec 10, 2005 at 07:51:13PM +0100, Vincent Lefevre wrote:
 I've just tried the Debian/unstable version (unfortunately reportbug
 didn't tell me that my version was out-of-date, as in the past) and it
 has the same problem. But it is #202 only; so, I'm not surprised.

yes - I'm running Debian/testing, so I see #202 still there (though
I have #207 in /usr/local/bin, so I'm actually using the latter).

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


pgptuMwLXfRUc.pgp
Description: PGP signature