[Bug libstdc++/63497] std::regex can't handle [^class] correctly and cause runtime crash
timshen at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 28 06:51:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63497
--- Comment #8 from Tim Shen <timshen at gcc dot gnu.org> ---
Author: timshen
Date: Fri Nov 28 06:50:34 2014
New Revision: 218138
URL: https://gcc.gnu.org/viewcvs?rev=218138&root=gcc&view=rev
Log:
PR libstdc++/63497
include/bits/regex_executor.tcc (_Executor::_M_dfs,
_Executor::_M_word_boundary): Avoid dereferecing _M_current at _M_end
or other invalid position.
Modified:
branches/gcc-4_9-branch/libstdc++-v3/ChangeLog
branches/gcc-4_9-branch/libstdc++-v3/include/bits/regex_executor.tcc
More information about the Gcc-bugs
mailing list