Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5291DDA8.7080702@skarnet.org>
Date: Sun, 24 Nov 2013 11:06:16 +0000
From: Laurent Bercot <ska-dietlibc@...rnet.org>
To: musl@...ts.openwall.com
Subject: zoneinfo file parsing in __tz.c


  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 ?

-- 
  Laurent

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.