news.volyx.in

Microsoft Exchange stops passing mail due to bug on 1/1/22 (old.reddit.com)

711 points by technion · 1722 days ago · 358 comments on HN

Article summary

A bug in Microsoft Exchange caused it to stop passing mail on January 1, 2022, due to an issue with parsing a timestamp/serial number. The problem arose from a virus definition file with a timestamp that exceeded the maximum value that can be parsed into a signed long value. This caused an overflow error, resulting in mail delivery issues. The exact details of the bug are not available, but it appears to be related to a serialization and date processing issue.

Main themes

  • Microsoft Exchange bug
  • timestamp/serial number parsing
  • software testing and validation
  • computing and society
  • email and communication
  • software development and design
  • SaaS and cloud services

What commenters say

  • The bug was caused by a simple overflow error due to a poorly designed timestamp/serial number parsing system.
  • String comparison would have avoided the issue, and it is unnecessary to convert the timestamp to an integer.
  • Comparing with strings is not foolproof and can lead to other issues, such as incorrect sorting or parsing.
  • The use of a 3-digit serial number would not have caused the overflow, but a 4-digit serial number would have.
  • The error highlights the importance of proper testing, including testing for future dates to catch such issues before they occur.
  • Some commenters believe that the widespread use of computers and email has negative consequences, such as shortened attention span and decreased quality of life.
  • Others argue that the benefits of accessible computing, including increased access to information and social mobility, outweigh the drawbacks.
  • The incident also sparked a discussion on the value of SaaS providers and the importance of robust testing and validation in software development.