From nobody  Tue Oct  8 14:33:13 1996
Received: (from nobody@localhost)
          by freefall.freebsd.org (8.7.5/8.7.3) id OAA28831;
          Tue, 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
Subject: Setting TZ to unusual values crashes applications using localtime
X-Send-Pr-Version: www-1.0

>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:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct  8 14:40:02 PDT 1996
>Closed-Date:    Mon Jan 13 09:12:34 PST 1997
>Last-Modified:  Mon Jan 13 09:50:01 PST 1997
>Originator:     Karst Koymans
>Release:        960501 snapshot
>Organization:
Utrecht University
>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:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: wollman 
State-Changed-When: Wed Oct 9 10:39:46 PDT 1996 
State-Changed-Why:  
Fixed in rev 1.10 of localtime.c. 
State-Changed-From-To: closed->analyzed 
State-Changed-By: wollman 
State-Changed-When: Mon Jan 13 09:04:39 PST 1997 
State-Changed-Why:  
The previous fix didn't really fix the problem, just changed 
its expression.  A proper fix is coming, so I'm re-opening this PR so I 
can record it as being fixed properly. 
State-Changed-From-To: analyzed->closed 
State-Changed-By: wollman 
State-Changed-When: Mon Jan 13 09:12:34 PST 1997 
State-Changed-Why:  
Fixed in localtime.c rev 1.1.2. 

From: Garrett Wollman <wollman@lcs.mit.edu>
To: Garrett Wollman <wollman@freefall.freebsd.org>
Cc: freebsd-gnats-submit@freefall.freebsd.org
Subject: Re: bin/1740
Date: Mon, 13 Jan 1997 12:48:09 -0500

 > State-Changed-Why: 
 > Fixed in localtime.c rev 1.1.2.
 
 Of course, that should be rev 1.12.
 
 -GAWollman
 
>Unformatted:
