Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 1996 14:33:13 -0700 (PDT)
From:      Karst.Koymans@phil.ruu.nl
To:        freebsd-gnats-submit@freebsd.org
Subject:   bin/1740: Setting TZ to unusual values crashes applications using localtime
Message-ID:  <199610082133.OAA28831@freefall.freebsd.org>
Resent-Message-ID: <199610082140.OAA29833@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610082133.OAA28831>