Boost C++ Libraries: Ticket #4943: easy overflow in posix_time::microseconds https://svn.boost.org/trac10/ticket/4943 <p> we encountered an overflow in posix_time::microseconds: </p> <p> <em>about 40 years (1970-2010) const <span class="underline">int64 n = 1267195987000000; boost::posix_time::microseconds td(n); </span></em><span class="underline">overflow </span></p> <p> The overflow is easy explainable since date_time::subsecond_duration first multiplies it causing the overflow and then divides by 1000000. </p> <p> There are already multiple posts spended on this. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4943 Trac 1.4.3 Vicente Botet <vicente.botet@…> Wed, 08 Dec 2010 06:15:23 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4943#comment:1 https://svn.boost.org/trac10/ticket/4943#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">duplicate</span> </li> </ul> <p> So why you did a new one? Post the ML is you want <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3471" title="#3471: Patches: microseconds constructor overflows (closed: fixed)">#3471</a> ticket to be closed </p> <p> Duplicate Ticket <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3471" title="#3471: Patches: microseconds constructor overflows (closed: fixed)">#3471</a> </p> Ticket gast128 Wed, 08 Dec 2010 15:27:30 GMT <link>https://svn.boost.org/trac10/ticket/4943#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4943#comment:2</guid> <description> <p> I couldn't find the other one. This whole trac system pops with "Error: Bad Request", "Missing or invalid form token. Do you have cookies enabled?" with Internet Exploder 8. And what is a ML? </p> <p> Anyhow 3471 seems not be solved in 1.45. </p> </description> <category>Ticket</category> </item> <item> <author>Vicente Botet <vicente.botet@…></author> <pubDate>Fri, 10 Dec 2010 17:43:52 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4943#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4943#comment:3</guid> <description> <p> I don't know about any cookies I needed to install. Sorry, ML stands for mailing list. </p> </description> <category>Ticket</category> </item> </channel> </rss>