Subject: pkg/17751: xv executes `filenames'
To: None <firstname.lastname@example.org>
From: Christian Biere <email@example.com>
Date: 07/28/2002 22:36:04
>Synopsis: xv executes `filenames'
>Arrival-Date: Sun Jul 28 22:37:00 PDT 2002
>Originator: Christian Biere
>Release: NetBSD 1.6D
NetBSD localhost 1.6D NetBSD 1.6D (DURON2) #0: Sat Jul 27 08:52:59 CEST
2002 root@localhost:/usr/src/sys/arch/i386/compile/DURON2 i386
Instead of opening the file xv executes the filename if it starts with "!".
This looks like a feature and it is somehow used to pipe files through
e.g. bbgen internally. Though I doubt anyone expects this behaviour when
he double-clicks such a file. xv doesn't execute the filename when it's given
on the command line.
touch '! xterm -T .jpg'
*click on load and double-click the file*
The ".jpg" isn't necessary it's just there to blind the luser.
The code responsable for this should be removed from xv.c. I don't know whether
xv looses any functionality by this. At least the user should be asked to confirm
the execution if anyone really wants/needs that `feature'.