From owner-freebsd-security Thu Sep 7 15:42:29 2000 Delivered-To: freebsd-security@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 874F937B423; Thu, 7 Sep 2000 15:42:26 -0700 (PDT) Received: from localhost (kris@localhost) by freefall.freebsd.org (8.9.3/8.9.2) with ESMTP id PAA26781; Thu, 7 Sep 2000 15:42:26 -0700 (PDT) (envelope-from kris@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: kris owned process doing -bs Date: Thu, 7 Sep 2000 15:42:26 -0700 (PDT) From: Kris Kennaway To: Warner Losh Cc: freebsd-security@FreeBSD.org Subject: Re: UNIX locale format string vulnerability (fwd) In-Reply-To: <200009072234.QAA07199@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 7 Sep 2000, Warner Losh wrote: > In message Kris Kennaway writes: > : On Thu, 7 Sep 2000, Warner Losh wrote: > : > : > In message Kris Kennaway writes: > : > : I think all of the following can be pointed to arbitrary files as well > : > : in setlocale(): > : > : "LANG" > : > > : > LANG cannot. If it contains /, it is ignored. > : > : setlocale(), not catopen(). It is treated on the same footing as all of > : the others, there. > > Ah, it shouldn't :-) I didn't spend a lot of time looking at the setlocale() code - could you confirm my interpretation? Kris -- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message