From owner-freebsd-questions@FreeBSD.ORG Sun Dec 6 00:39:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 382FB106568B for ; Sun, 6 Dec 2009 00:39:08 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from smtp.mel.people.net.au (smtp.mel.people.net.au [218.214.17.98]) by mx1.freebsd.org (Postfix) with SMTP id 744AE8FC24 for ; Sun, 6 Dec 2009 00:39:07 +0000 (UTC) Received: (qmail 24003 invoked from network); 6 Dec 2009 00:36:40 -0000 Received: from unknown (HELO smtp.phoenix) (218.215.186.233) by smtp.mel.people.net.au with SMTP; 6 Dec 2009 00:36:40 -0000 Received: by smtp.phoenix (Postfix, from userid 1001) id D696D1715D; Sun, 6 Dec 2009 11:39:03 +1100 (EST) Date: Sun, 6 Dec 2009 11:39:03 +1100 From: andrew clarke To: freebsd-questions@freebsd.org Message-ID: <20091206003903.GA31929@ozzmosis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: tcsh backtick/quote bug on FreeBSD 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2009 00:39:08 -0000 Hi, I just stumbled across a bug in the version of tcsh supplied with FreeBSD 7.2. $ uname -a FreeBSD blizzard.phoenix 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Fri Oct 2 12:21:39 UTC 2009 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 $ which tcsh /bin/tcsh $ tcsh --version tcsh 6.15.00 (Astron) 2007-03-03 (i386-intel-FreeBSD) options wide,nls,dl,al,kan,sm,rh,color,filec $ tcsh -f > "`" Unmatched `. Segmentation fault (core dumped) $ Regular tcsh isn't in the ports tree, although there is a modified version called tcsh-bofh. It's apparently based on an older version of tcsh and is not vulnerable. $ /usr/local/bin/tcsh --version tcsh 6.12.00 (Astron) 2002-07-23 (i386-intel-FreeBSD) options 8b,nls,dl,al,rh,color,filec $ /usr/local/bin/tcsh -f > "`" Unmatched `. > Regards Andrew