We (at ring.cx) had a &quot;Y2K&quot; bug on Jan 1. Some old boring code was replaced with more &quot;readable&quot; one and &quot;underflowed&quot; (technically, it did not expect negative values).<p>Explosion:
<a href="https:&#x2F;&#x2F;gist.github.com&#x2F;Elv13&#x2F;73ae14074c85974ca952" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;Elv13&#x2F;73ae14074c85974ca952</a><p>Fixed:
<a href="https:&#x2F;&#x2F;gist.github.com&#x2F;Elv13&#x2F;5fc6bb2bba51aeb14f63" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;Elv13&#x2F;5fc6bb2bba51aeb14f63</a><p>(LGPLv2+, not designed to be &quot;correct&quot;, but close enough so it isn&#x27;t noticeable.)