Skip to content

Commit 54ff1ea

Browse files
committed
init m_pcje in the constructor of verify_cc.cc
1 parent 37d3a20 commit 54ff1ea

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/operators/verify_cc.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,12 @@ class VerifyCC : public Operator {
3939
explicit VerifyCC(std::unique_ptr<RunTimeString> param)
4040
: Operator("VerifyCC", std::move(param)),
4141
#if WITH_PCRE2
42-
m_pc(NULL) { }
42+
m_pc(NULL)
43+
{
44+
#if WITH_PCRE2
45+
m_pcje = PCRE2_ERROR_JIT_BADOPTION;
46+
#endif
47+
}
4348
#else
4449
m_pc(NULL),
4550
m_pce(NULL) { }

0 commit comments

Comments
 (0)