Opened 14 years ago
Closed 14 years ago
#1934 closed Bugs (fixed)
iterator reference zero when reading time zone [with patch]
| Reported by: | Owned by: | az_sw_dude | |
|---|---|---|---|
| Milestone: | Boost 1.36.0 | Component: | date_time | 
| Version: | Boost 1.35.0 | Severity: | Problem | 
| Keywords: | Cc: | 
Description
when running with msvc v9.0 (debug mode build) the microsoft STL rightly throws an error about a string iterator derefereing past end() when parsing a time zone name e.g. "CET".
Resolution: add check for end of string to usage of iterator or apply patch which does just that.
Attachments (2)
Change History (3)
by , 14 years ago
| Attachment: | check_for_end_of_string.patch added | 
|---|
by , 14 years ago
| Attachment: | check_for_end_of_string.2.patch added | 
|---|
add a check for end of time zone string
comment:1 by , 14 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    
add a check for end of time zone string