]> git.kaiwu.me - nginx.git/commit
Geo: fixed memory allocation error handling (closes #1482).
authorRuslan Ermilov <ru@nginx.com>
Wed, 21 Feb 2018 12:50:42 +0000 (15:50 +0300)
committerRuslan Ermilov <ru@nginx.com>
Wed, 21 Feb 2018 12:50:42 +0000 (15:50 +0300)
commitf98a8c4db622223485ad5f175c79ecc0695ed5cc
tree8523840f9bca1166a2291c100071a4eb01ba775f
parent864d93965b58495c0e14df1b4a0d1647a4a28aff
Geo: fixed memory allocation error handling (closes #1482).

If during configuration parsing of the geo directive the memory
allocation has failed, pool used to parse configuration inside
the block, and sometimes the temporary pool were not destroyed.
src/http/modules/ngx_http_geo_module.c
src/stream/ngx_stream_geo_module.c