#2296 closed Bugs (fixed)
Xpressive walking past the end of string
Reported by: | Owned by: | Eric Niebler | |
---|---|---|---|
Milestone: | Boost 1.37.0 | Component: | xpressive |
Version: | Boost 1.36.0 | Severity: | Problem |
Keywords: | Cc: |
Description
The following test code triggers an assertion in std::string::operator ++ under VC 8:
string s("> \"\" "); string exp("(?P<f>.+):(?P<l>[0-9]+):((?P<c>[0-9]+):)?.*"); sregex re = sregex::compile(exp); regex_search(s, re);
The previous call in the stack is boost::next, called from simple_repeat_matcher.hpp at line 181, right below a BUGBUG comment!
Change History (3)
comment:1 by , 14 years ago
Status: | new → assigned |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
confirmed