#4943 closed Feature Requests (duplicate)
easy overflow in posix_time::microseconds
| Reported by: | Owned by: | az_sw_dude | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | date_time | 
| Version: | Boost 1.45.0 | Severity: | Problem | 
| Keywords: | Cc: | 
Description
we encountered an overflow in posix_time::microseconds:
about 40 years (1970-2010) const int64 n = 1267195987000000; boost::posix_time::microseconds td(n); overflow
The overflow is easy explainable since date_time::subsecond_duration first multiplies it causing the overflow and then divides by 1000000.
There are already multiple posts spended on this.
Change History (3)
comment:1 by , 12 years ago
| Resolution: | → duplicate | 
|---|---|
| Status: | new → closed | 
comment:2 by , 12 years ago
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?
Anyhow 3471 seems not be solved in 1.45.
comment:3 by , 12 years ago
I don't know about any cookies I needed to install. Sorry, ML stands for mailing list.

So why you did a new one? Post the ML is you want #3471 ticket to be closed
Duplicate Ticket #3471