bugGNU Core Utilities - Bugs: bug #22017, zic can generate files which crash...


You are not allowed to post comments on this tracker with your current authentication level.

bug #22017: zic can generate files which crash the linux kernel

Submitted by:  None
Submitted on:  Mon 14 Jan 2008 09:18:54 AM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Invalid
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Mon 14 Jan 2008 09:46:43 AM UTC, comment #1: 

zic is not part of coreutils, but does belong to the GNU C library (glibc). See http://www.gnu.org/software/libc/bugs.html for bug report instructions.

Steven Schubiger <schubiger>
Mon 14 Jan 2008 09:18:54 AM UTC, original submission:  

Hi there,

Don't know if you'll want to fix, but we just had an issue where zic is generating files which cause a kernel panic in tzfile.c on Linux. Apparently the -01:00 is the offending time offset.

 Jamie (jamie.riden@gmail.com)

We compiled the following timezone file with zic and put the result in /etc/localtime. This makes tzfile.c fail with assertion that numtypes==1.

# /etc/timezone (auto-generated)

# Daylight savings time rules
#    Name       YrStart   YrEnd   Type   Month,Day,At,Offset      Letter
Rule DAYLIGHT   2000      max     -      Mar lastSun 02:00 01:00   -
Rule DAYLIGHT   2000      max     -      Oct lastSun 03:00 -01:00   -

# Timezone description
#    NAME        Offset    Rule       Name(/DaylightName)
Zone localtime   00:00     DAYLIGHT   GMT/BST



No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by ericb (Updated the item)
  • -email is unavailable- added by schubiger (Posted a comment)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-01-25 ericb StatusNone => Invalid
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.6