From fa8b79bca9e0b6d30e90a54c8b62a66b8bedf838 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Thu, 4 Jan 2018 18:51:21 +0000 Subject: [PATCH] Regex.Defuzz, fix for https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4615 --- include/boost/regex/v4/perl_matcher_non_recursive.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/boost/regex/v4/perl_matcher_non_recursive.hpp b/include/boost/regex/v4/perl_matcher_non_recursive.hpp index 79d6d76c..1cda64d9 100644 --- a/include/boost/regex/v4/perl_matcher_non_recursive.hpp +++ b/include/boost/regex/v4/perl_matcher_non_recursive.hpp @@ -1834,6 +1834,7 @@ bool perl_matcher::unwind_commit(bool b) // If we stop because we just unwound an assertion, put the // commit state back on the stack again: // + m_unwound_lookahead = false; saved_state* pmp = m_backup_state; --pmp; if(pmp < m_stack_base)