[PATCH] GeoIP: not all variable fields were initialized.

Maxim Dounin mdounin at mdounin.ru
Mon Jul 28 02:17:24 UTC 2014


Hello!

On Fri, Jul 25, 2014 at 03:00:31PM -0700, Yichun Zhang (agentzh) wrote:

> # HG changeset patch
> # User Yichun Zhang <agentzh at gmail.com>
> # Date 1406324609 25200
> #      Fri Jul 25 14:43:29 2014 -0700
> # Node ID c038cc33739bbfab2ed50819191298471f22d233
> # Parent  93614769dd4b6df8844c3c43c6a0b3f83bfa6746
> 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 variales randomly.

Committed, thanks.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx-devel mailing list