forked from boostorg/regex
Regex.Defuzz, fix for https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4615
This commit is contained in:
@ -1834,6 +1834,7 @@ bool perl_matcher<BidiIterator, Allocator, traits>::unwind_commit(bool b)
|
|||||||
// If we stop because we just unwound an assertion, put the
|
// If we stop because we just unwound an assertion, put the
|
||||||
// commit state back on the stack again:
|
// commit state back on the stack again:
|
||||||
//
|
//
|
||||||
|
m_unwound_lookahead = false;
|
||||||
saved_state* pmp = m_backup_state;
|
saved_state* pmp = m_backup_state;
|
||||||
--pmp;
|
--pmp;
|
||||||
if(pmp < m_stack_base)
|
if(pmp < m_stack_base)
|
||||||
|
Reference in New Issue
Block a user