Secure Coding mailing list archives
2010 bug hits millions of Germans | World news | The Guardian
From: ljknews at mac.com (ljknews)
Date: Thu, 07 Jan 2010 16:02:38 -0400
At 2:37 PM -0600 1/7/10, Wall, Kevin wrote:
Larry Kilgallen wrote...At 10:43 AM -0600 1/7/10, Stephen Craig Evans wrote:I am VERY curious to learn how these happened... Only using the last digit of the year? Hard for me to believe. Maybe it's in asingle APIand somebody tried to be too clever with some bit-shifting.My wife says that in the lead-up to the year 2000 she caught some programmers "fixing" Y2K bugs by continuing to store year numbers in two digits and then just prefixing output with 19 if the value was greater than some two digit number and prefixing output with 20 if the value was less than or equal to that two digit number. Never underestimate programmer creativity. Never overestimate programmer precision.While I never fixed any Y2K problems I worked next to someone who did for about 6 months. What you refer to is pretty much what I mentioned as the "fixed window" technique that was very common to those developers who were addressing the problems at the time. IIRC, it was a particularly popular approach for those who waited until the last moment to address Y2K issues in there systems because it still allowed for 2 digit year fields in all their forms and databases and output.
Going back to the original Y2K issue, within the past 5 years my wife and I visited a friend of my late father. This friend had retired as somewhat of a bigwig at an industrial giant that formerly was in the business of manufacturing their own line of computers. He admitted that "back in the day" they had set up things to use two digits for storing year numbers, knowing that before the year 2000 came around, _they_ would all be retired. -- Larry Kilgallen
Current thread:
- 2010 bug hits millions of Germans | World news | The Guardian Kenneth Van Wyk (Jan 07)
- 2010 bug hits millions of Germans | World news | The Guardian Stephen Craig Evans (Jan 07)
- 2010 bug hits millions of Germans | World news | The Guardian ljknews (Jan 07)
- 2010 bug hits millions of Germans | World news | The Guardian Wall, Kevin (Jan 07)
- 2010 bug hits millions of Germans | World news | The Guardian ljknews (Jan 07)
- 2010 bug hits millions of Germans | World news | The Guardian McCown, Christian M (Jan 07)
- 2010 bug hits millions of Germans | World news | The Guardian ljknews (Jan 07)
- 2010 bug hits millions of Germans | World news | The Guardian Steven M. Christey (Jan 07)
- 2010 bug hits millions of Germans | World news | The Guardian Wall, Kevin (Jan 07)
- 2010 bug hits millions of Germans | World news | The Guardian Stephen Craig Evans (Jan 07)
- <Possible follow-ups>
- 2010 bug hits millions of Germans | World news | The Guardian Peter G. Neumann (Jan 07)
- 2010 bug hits millions of Germans | World news | The Guardian Matt Bishop (Jan 08)