Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20131124122221.GK1685@port70.net>
Date: Sun, 24 Nov 2013 13:22:21 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: zoneinfo file parsing in __tz.c

* Laurent Bercot <ska-dietlibc@...rnet.org> [2013-11-24 11:06:16 +0000]:
>  While working on leap seconds support, I find the following line in
> do_tzset(), that's supposed to skip the non-supported part of the
> zoneinfo binary format:
>  size_t skip = zi_dotprod(zi, VEC(1,1,8,5,6,1), 6);
> 
>  but zi is the start of the mapped file, and the various numbers
> indicating the sections' length are supposed to be at zi+20, not zi.
>  Is that a bug or have I missed something ?

i think you are not working with latest git then
this is what it says now:

http://git.musl-libc.org/cgit/musl/tree/src/time/__tz.c#n179

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.