TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Microsoft confirms Exchange Year 2022 problem

240 点作者 niuzeta超过 3 年前

16 条评论

cube00超过 3 年前
I&#x27;m pleased the error message actually mentioned exactly what&#x27;s wrong.<p>Compare the two snippets in [1]:<p><i>&gt; Description: The FIP-FS &quot;Microsoft&quot; Scan Engine failed to load. PID: 23092, Error Code: 0x80004005. Error Description: Can&#x27;t convert &quot;2201010001&quot; to long.</i><p><i>&gt; Description: The FIP-FS Scan Process failed initialization. Error: 0x80004005. Error Details: Unspecified error.</i><p>I hope it&#x27;s trend that continues because when it&#x27;s going pear shaped every little morsel of information is important to narrow down the problem.<p>I&#x27;m less pleased they seemly didn&#x27;t deploy this update to an internal on-prem test Exchange server before a wider release.<p>[1]: <a href="https:&#x2F;&#x2F;techcommunity.microsoft.com&#x2F;t5&#x2F;exchange-team-blog&#x2F;email-stuck-in-exchange-on-premises-transport-queues&#x2F;ba-p&#x2F;3049447" rel="nofollow">https:&#x2F;&#x2F;techcommunity.microsoft.com&#x2F;t5&#x2F;exchange-team-blog&#x2F;em...</a>
评论 #29777660 未加载
评论 #29777291 未加载
cpeterso超过 3 年前
Summary of the bug: Exchange tried to store &quot;2201010001&quot; (i.e. date time &#x27;22-01-01 00:00) in a 32-bit signed int, but INT_MAX is 2147483647 so the result is a negative number.
评论 #29773754 未加载
评论 #29774997 未加载
评论 #29774807 未加载
评论 #29774486 未加载
评论 #29778398 未加载
评论 #29774398 未加载
评论 #29775831 未加载
edoceo超过 3 年前
I wouldn&#x27;t call one bug, in one software a &quot;vengeance&quot;. Yea, it&#x27;s widly used, and affected lots of mail but was very limited and had a trivial work-around.<p>But, the Y2K issue, back then, was in 1000s of software from 1000s of vendors. The only Y2K affect I remember was the first issue of 2600 in 2000.
评论 #29773023 未加载
评论 #29773174 未加载
评论 #29778116 未加载
ocdtrekkie超过 3 年前
I love the solution: They changed their antimalware definition files to December 33rd, 2021, until they have a more substantial patch ready. The instructions are just to basically clear out the existing files and re-download to get rid of that pesky 2022 year.
评论 #29773162 未加载
greenyoda超过 3 年前
This bug was extensively discussed yesterday:<p><i>Microsoft Exchange stops passing mail due to bug on 1&#x2F;1&#x2F;22 (677 points &#x2F; 355 comments)</i><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29756714" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29756714</a>
dang超过 3 年前
Submitters: please don&#x27;t editorialize titles. This is in the site guidelines: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;newsguidelines.html" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;newsguidelines.html</a>. We&#x27;ve reverted the title now. (Submitted title was &quot;Y2K problem came back with vengeance in 2022&quot;.)
评论 #29788992 未加载
评论 #29776956 未加载
评论 #29775199 未加载
评论 #29773321 未加载
manigandham超过 3 年前
It&#x27;s surprising how often this issue (ceiling for 32-bit ints) comes up way.<p>If you&#x27;re still using integers (for ids, timestamps, etc) then just go with 64-bits. It avoids any potential problem with data size in the future, and if the size stays small then it won&#x27;t matter anyway. Storage is cheap and CPU cache lines are 64-bit now too.
评论 #29775788 未加载
评论 #29775736 未加载
SavantIdiot超过 3 年前
Can you imagine being a dev on this bugfix? The bug is known, but every second wasted testing, regressing, and preparing to deploy, literally millions of emails aren&#x27;t delivered. That&#x27;s some serious pressure.<p>I wonder if there were detectable drops in internet traffic due to fewer emails?
评论 #29777061 未加载
MauranKilom超过 3 年前
Wow, what a bug.<p>The malware scanning service of MS Exchange crashes, because it treats a yyMMddHHmm timestamp as a signed integer when verifying a signature file.<p>Turns out that 2201010001 is negative when treated as a 32 bit integer (the greatest positive one is 2147483647, and 2021 had fewer than 47 months).<p>I can only assume that somebody wrote that &quot;timestamp string as integer&quot; code, checked that it worked correctly (at the time) and then just assumed they must be good on data type range.
评论 #29778395 未加载
评论 #29774712 未加载
评论 #29774646 未加载
评论 #29777455 未加载
ghostly_s超过 3 年前
I&#x27;m rather surprised the test suite for a product like Exchange wouldn&#x27;t include setting date types to ($TODAY..$FAR_FUTURE).
评论 #29778127 未加载
natch超过 3 年前
Site has this confusing update:<p>&gt; Addendum: A fix ist available.<p>Are we speaking German now? Or is that a typo for isn’t? Or is, maybe?
jlv2超过 3 年前
Long ago I learned a lesson: Don&#x27;t write your own date time handling code.<p>(because you will always miss something)
评论 #29778092 未加载
K5EiS超过 3 年前
Any reason they didn&#x27;t make the int unsigned from the get go? Or would that also cause issues?
评论 #29778902 未加载
whatever1超过 3 年前
Please, D. Knuth just solve this dates for computers problem once and for all!
mproud超过 3 年前
So many spelling mistakes!
评论 #29773172 未加载
bawolff超过 3 年前
Maybe this will kill the last remenants of people thinking they are using spf when they are actually using senderid