[Bug libstdc++/65022] basic_string operator[]s allow out of range access
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 11 17:39:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65022
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I'm not sure what you are saying is a bug, but I'm guessing you missed this
precondition:
1 Requires: pos <= size().
More information about the Gcc-bugs
mailing list