|
|
Subscribe / Log in / New account

The SAY2K10 bug

The SAY2K10 bug

Posted Jan 9, 2010 18:11 UTC (Sat) by MattPerry (guest, #46341)
In reply to: The SAY2K10 bug by mp
Parent article: The SAY2K10 bug

Thanks for the links. I didn't know about those. Then 'current date + 26 hours' is sufficient. No need for 'current date + 1 year' since that would leave plenty of room for spammers to still set dates into the future.


to post comments

The SAY2K10 bug

Posted Jan 14, 2010 0:53 UTC (Thu) by Kissaki (guest, #61848) [Link]

Not to pile on, but you don't want to be overly specific because sometimes people just make mistakes. If someone accidentally gets the month wrong when setting up or configuring their computer, and don't turn on NTP, you could be affecting their ability to send you email and (depending on what the email contains) give you money.

Egregious errors (wrong decade) are one thing, but 26 hours is probably cutting it too close.

I assume the reason it isn't dynamic is to be able to do static string matching / regular expression compilation, rather than recalculate the string to match every time. You could get past that by making it re-compute the date string on restart, assuming you restart frequently enough.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds