Opened 14 years ago
Closed 14 years ago
#2523 closed Bugs (fixed)
Windows FILETIMEs before 1970 are projected into the future
Reported by: | Owned by: | az_sw_dude | |
---|---|---|---|
Milestone: | Boost 1.38.0 | Component: | date_time |
Version: | Boost 1.37.0 | Severity: | Problem |
Keywords: | ms windows filetime | Cc: |
Description
When the file time is before 1970 (possible e.g. in ntfs file systems), the conversion produces an integer overflow, projecting the file time some 60,000 years into the future.
Unfortunately, this causes bad_date exceptions to be thrown later on
Attachments (1)
Change History (3)
by , 14 years ago
Attachment: | filetime_functions.hpp.patch added |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
patch for boost/date_time/filetime_function.hpp