re PR libstdc++/63497 (std::regex can't handle [^class] correctly and cause runtime...
authorTim Shen <timshen@google.com>
Thu, 23 Oct 2014 03:15:52 +0000 (03:15 +0000)
committerTim Shen <timshen@gcc.gnu.org>
Thu, 23 Oct 2014 03:15:52 +0000 (03:15 +0000)
commit4d8384337fec423e2aa433a2b2cf18c3f2831a83
tree7e600eb384ed26afa726a1135f6e5d794e91a417
parenta3317c924706aef535d0ef78f040ba46237a4131
re PR libstdc++/63497 (std::regex can't handle [^class] correctly and cause runtime crash)

PR libstdc++/63497
include/bits/regex_executor.h (_Executor::_M_word_boundary): Remove
unused parameter.
include/bits/regex_executor.tcc (_Executor::_M_dfs,
_Executor::_M_word_boundary): Avoid dereferecing _M_current at _M_end
or other invalid position.

From-SVN: r216572
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex_executor.h
libstdc++-v3/include/bits/regex_executor.tcc