]> git.kaiwu.me - nginx.git/commit
GeoIP: not all variable fields were initialized.
authorYichun Zhang <agentzh@gmail.com>
Fri, 25 Jul 2014 21:43:29 +0000 (14:43 -0700)
committerYichun Zhang <agentzh@gmail.com>
Fri, 25 Jul 2014 21:43:29 +0000 (14:43 -0700)
commit7b24c53efee348e919d03cba5c74445095402593
tree25f46a0eff22adee73b56191bef6a8fd74f07407
parent3ba8f2f73d27af3cd56506922edd91db2a56eb03
GeoIP: not all variable fields were initialized.

The ngx_http_geoip_city_float_variable and
ngx_http_geoip_city_int_variable functions did not always initialize
all variable fields like "not_found", which could lead to empty values
for those corresponding nginx variables randomly.
src/http/modules/ngx_http_geoip_module.c