From owner-freebsd-bugs Tue Oct 8 14:40:06 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA29865 for bugs-outgoing; Tue, 8 Oct 1996 14:40:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA29833; Tue, 8 Oct 1996 14:40:03 -0700 (PDT) Resent-Date: Tue, 8 Oct 1996 14:40:03 -0700 (PDT) Resent-Message-Id: <199610082140.OAA29833@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, Received: (from nobody@localhost)by.freefall.freebsd.org.id.OAA28831;Tue; (8.7.5/8.7.3);, 8 Oct 1996 14:33:13.-0700 (PDT) Message-Id: <199610082133.OAA28831@freefall.freebsd.org> Date: Tue, 8 Oct 1996 14:33:13 -0700 (PDT) From: Karst.Koymans@phil.ruu.nl To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: bin/1740: Setting TZ to unusual values crashes applications using localtime Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1740 >Category: bin >Synopsis: Setting TZ to unusual values crashes applications using localtime >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 8 14:40:02 PDT 1996 >Last-Modified: >Originator: Karst Koymans >Organization: Utrecht University >Release: 960501 snapshot >Environment: >Description: Setting TZ to unusual values like "Europe" crashes all applications using the localtime routine. This is because the tzload routine happily opens any file, even directories, as valid timezone files. "Europe" happens to be a directory under /usr/share/zoneinfo. >How-To-Repeat: TZ=Europe date >Fix: >Audit-Trail: >Unformatted: