You've already forked ngx_http_geoip2_module
mirror of
https://github.com/leev/ngx_http_geoip2_module.git
synced 2026-10-23 10:28:56 +03:00
Fix #90: segfault on bad auto reload value
This commit is contained in:
@@ -451,7 +451,7 @@ ngx_http_geoip2_parse_config(ngx_conf_t *cf, ngx_command_t *dummy, void *conf)
|
||||
if (interval == (time_t) NGX_ERROR) {
|
||||
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
|
||||
"invalid interval for auto_reload \"%V\"",
|
||||
value[1]);
|
||||
&value[1]);
|
||||
return NGX_CONF_ERROR;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user