commit | 915bc544030472d2516a50d317afd82bccb022e1 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Sun Feb 05 19:27:18 2012 +0000 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Sun Feb 05 19:27:18 2012 +0000 |
tree | 7c235c61893554352831c22f2dea282e2ef04806 | |
parent | a491bd5799bf04ac6ea85d5090ac22f603a981b4 [diff] |
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.