From owner-freebsd-security Thu Sep 7 14:59:58 2000 Delivered-To: freebsd-security@freebsd.org Received: from xerxes.courtesan.com (64-6-178-150.den1.phoenixdsl.net [64.6.178.150]) by hub.freebsd.org (Postfix) with ESMTP id 2403D37B422; Thu, 7 Sep 2000 14:59:53 -0700 (PDT) Received: from xerxes.courtesan.com (millert@localhost) by xerxes.courtesan.com (8.10.1/8.10.1) with ESMTP id e87LxO816950; Thu, 7 Sep 2000 15:59:24 -0600 (MDT) Message-Id: <200009072159.e87LxO816950@xerxes.courtesan.com> To: Warner Losh Cc: "Todd C. Miller" , "Andrey A. Chernov" , Kris Kennaway , "Vladimir Mencl, MK, susSED" , freebsd-security@FreeBSD.ORG, security-officer@FreeBSD.ORG Subject: Re: UNIX locale format string vulnerability (fwd) In-reply-to: Your message of "Thu, 07 Sep 2000 15:52:35 MDT." <200009072152.PAA06531@harmony.village.org> References: <200009072150.e87LoDm26973@xerxes.courtesan.com> <200009072126.e87LQuE12710@xerxes.courtesan.com> <200009072126.e87LQuE12710@xerxes.courtesan.com> <200009072132.PAA06187@harmony.village.org> <20000908013556.A19114@nagual.pp.ru> <200009072140.e87Le3715994@xerxes.courtesan.com> <20000908014646.A19231@nagual.pp.ru> <200009072152.PAA06531@harmony.village.org> Date: Thu, 07 Sep 2000 15:59:24 -0600 From: "Todd C. Miller" Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <200009072152.PAA06531@harmony.village.org> so spake Warner Losh (imp): > If it has a '/' in it, don't you mean? > "../../../../../../../../../../../home/imp/bad-thing" is effectively > an absolute path. No, neither the BSD libtermcap nor ncurses follow relative paths. This makes sense since there's no reason why '/' wouldn't be valid in a termcap entry which TERMCAP can contain. The TERMPATH and TERMINFO variables are different in that they only contains pathnames and so can be stripped out with extreme prejudice ;-) - todd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message