[PATCH] tzset robustness [BZ#17715]

Paul Eggert eggert@cs.ucla.edu
Tue Jan 20 17:57:00 GMT 2015


On 01/20/2015 08:54 AM, Rich Felker wrote:
> Yes, glibc is wrongly attempting to process strings as filenames
> first, then as POSIX-format TZ strings.

This is OK, so long as all the file names actually installed in the 
system cannot be confused with valid POSIX-format TZ strings.  That is 
the case with the standard time zone database normally installed in 
GNU/Linux systems (at least it is now; long ago there were ambiguities 
but they were removed many years ago).



More information about the Libc-alpha mailing list