Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c66e52c

Browse files
AirisXFelipe Zimmerle
authored and
Felipe Zimmerle
committed
modsec initialized with NULL
1 parent 2966dd6 commit c66e52c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/ngx_http_modsecurity_module.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ static void *ngx_http_modsecurity_create_conf(ngx_conf_t *cf)
545545
conf->enable = NGX_CONF_UNSET;
546546
conf->sanity_checks_enabled = NGX_CONF_UNSET;
547547
conf->rules_set = msc_create_rules_set();
548+
conf->modsec = NULL;
548549

549550
cln = ngx_pool_cleanup_add(cf->pool, 0);
550551
if (cln == NULL) {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /