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: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Invalid
Privacy: PublicAssigned 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.

cheers,
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

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 25 Jan 2008 02:54:16 PM UTCericbStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1