Skip to content

Commit 5e418c2

Browse files
committed
Fix uninitialized deny_all in merge handler
1 parent 8adef61 commit 5e418c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mod_cloudflare.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ static void *merge_cloudflare_server_config(apr_pool_t *p, void *globalv,
144144
config->proxymatch_ip = server->proxymatch_ip
145145
? server->proxymatch_ip
146146
: global->proxymatch_ip;
147+
config->deny_all = server->deny_all
148+
? server->deny_all
149+
: global->deny_all;
147150
return config;
148151
}
149152

0 commit comments

Comments
 (0)