Bug 9506 - cron(8) is not Y2K compliant
Summary: cron(8) is not Y2K compliant
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 3.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-01-15 05:30 UTC by Peter Jeremy
Modified: 1999-01-16 01:59 UTC (History)
0 users

See Also:


Attachments
file.diff (583 bytes, patch)
1999-01-15 05:30 UTC, Peter Jeremy
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Jeremy 1999-01-15 05:30:03 UTC
cron(8) uses a raw tm_year and will therefore display 100 for 2000.
Use snprintf to protect against excessively long timezone names.

How-To-Repeat: 
Code inspection
Comment 1 danny freebsd_committer freebsd_triage 1999-01-16 01:59:18 UTC
State Changed
From-To: open->closed

Patch applied.  Thanks