]> git.kaiwu.me - nginx.git/commit
Merge of r4405:
authorMaxim Dounin <mdounin@mdounin.ru>
Sun, 5 Feb 2012 19:27:18 +0000 (19:27 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Sun, 5 Feb 2012 19:27:18 +0000 (19:27 +0000)
commit915bc544030472d2516a50d317afd82bccb022e1
tree7c235c61893554352831c22f2dea282e2ef04806
parenta491bd5799bf04ac6ea85d5090ac22f603a981b4
Merge of r4405:

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.
src/core/ngx_hash.c