Opened 14 years ago

Closed 14 years ago

#1934 closed Bugs (fixed)

iterator reference zero when reading time zone [with patch]

Reported by: Thomas.Lemm@… 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)

check_for_end_of_string.patch (860 bytes ) - added by Thomas.Lemm@… 14 years ago.
add a check for end of time zone string
check_for_end_of_string.2.patch (860 bytes ) - added by Thomas.Lemm@… 14 years ago.
add a check for end of time zone string

Download all attachments as: .zip

Change History (3)

by Thomas.Lemm@…, 14 years ago

add a check for end of time zone string

by Thomas.Lemm@…, 14 years ago

add a check for end of time zone string

comment:1 by Andrey Semashev, 14 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.