[Bug libstdc++/59756] off-by-one error in regex

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 10 14:13:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59756

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The garbage is because your program has a bug. You match a temporary string, so
the smatch object contains invalid iterators into an object that no longer
exists.



More information about the Gcc-bugs mailing list