mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
init m_pcje in the constructor of verify_cc.cc
This commit is contained in:
@@ -39,7 +39,12 @@ class VerifyCC : public Operator {
|
|||||||
explicit VerifyCC(std::unique_ptr<RunTimeString> param)
|
explicit VerifyCC(std::unique_ptr<RunTimeString> param)
|
||||||
: Operator("VerifyCC", std::move(param)),
|
: Operator("VerifyCC", std::move(param)),
|
||||||
#if WITH_PCRE2
|
#if WITH_PCRE2
|
||||||
m_pc(NULL) { }
|
m_pc(NULL)
|
||||||
|
{
|
||||||
|
#if WITH_PCRE2
|
||||||
|
m_pcje = PCRE2_ERROR_JIT_BADOPTION;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
m_pc(NULL),
|
m_pc(NULL),
|
||||||
m_pce(NULL) { }
|
m_pce(NULL) { }
|
||||||
|
Reference in New Issue
Block a user