An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html
Go to file
Valentin Bartenev 363a0c53e7 Fixed division by zero exception in ngx_hash_init().
The ngx_hash_init() function did not expect call with zero elements count,
which caused FPE error on configs with an empty "types" block in http context
and "types_hash_max_size" > 10000.

Example configuration to reproduce:

  events { }

  http {
          types_hash_max_size 10001;
          types {}
          server {}
  }
2012-01-16 12:42:07 +00:00
auto Fixed configure with system PCRE library on Solaris. 2011-12-29 15:58:53 +00:00
conf Added the HTTPS fastcgi_param to fastcgi.conf. 2011-12-25 19:15:56 +00:00
contrib nginx-0.3.55-RELEASE import 2006-07-28 15:16:17 +00:00
docs Fixed punctuation. 2011-12-28 13:30:56 +00:00
misc libraries versions updated 2011-12-27 12:39:11 +00:00
src Fixed division by zero exception in ngx_hash_init(). 2012-01-16 12:42:07 +00:00
.hgtags release-1.1.12 tag 2011-12-26 15:05:38 +00:00