From df09bbb10a6717dac6b73a4eef3ad15afa071957 Mon Sep 17 00:00:00 2001 From: Lee Valentine Date: Wed, 14 Jun 2023 10:17:41 -0500 Subject: [PATCH] Fix #90: segfault on bad auto reload value --- ngx_http_geoip2_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ngx_http_geoip2_module.c b/ngx_http_geoip2_module.c index 4b3461c..4667796 100644 --- a/ngx_http_geoip2_module.c +++ b/ngx_http_geoip2_module.c @@ -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; }