Skip to content

Commit 4d79f39

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

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/operators/verify_cc.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ 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+
m_pcje = PCRE2_ERROR_JIT_BADOPTION;
45+
}
4346
#else
4447
m_pc(NULL),
4548
m_pce(NULL) { }

0 commit comments

Comments
 (0)