Secure Coding mailing list archives
2010 bug hits millions of Germans | World news | The Guardian
From: Kevin.Wall at qwest.com (Wall, Kevin)
Date: Thu, 7 Jan 2010 14:37:12 -0600
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. --- Kevin W. Wall Qwest Information Technology, Inc. Kevin.Wall at qwest.com Phone: 614.215.4788 "It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration" - Edsger Dijkstra, How do we tell truths that matter? http://www.cs.utexas.edu/~EWD/transcriptions/EWD04xx/EWD498.html This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
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)