diff options
Diffstat (limited to 'time/tzfile.c')
-rw-r--r-- | time/tzfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/time/tzfile.c b/time/tzfile.c index d16115f8cd..925f95fb78 100644 --- a/time/tzfile.c +++ b/time/tzfile.c @@ -264,7 +264,7 @@ __tzfile_read (const char *file, size_t extra, char **extrap) zone_names = (char *) types + num_types * sizeof (struct ttinfo); leaps = (struct leap *) ((char *) transitions + leaps_idx); if (trans_width == 8) - tzspec = (char *) leaps + num_leaps * sizeof (struct leap); + tzspec = (char *) leaps + num_leaps * sizeof (struct leap) + extra; else tzspec = NULL; if (extra > 0) |