]> git.kaiwu.me - nginx.git/commit
Geo: fixed access to already freed memory.
authorValentin Bartenev <vbart@nginx.com>
Thu, 18 Aug 2016 14:11:03 +0000 (17:11 +0300)
committerValentin Bartenev <vbart@nginx.com>
Thu, 18 Aug 2016 14:11:03 +0000 (17:11 +0300)
commit535550b406b0f6db18697247c3c132ed502cdd46
treeda89b25d9d3038d75d49a0c6ac4ad4dccc6e590b
parent50ba1a2cdeeb3f3d826354ac2a5d39f2e052b886
Geo: fixed access to already freed memory.

Previously, in "ranges" mode when all added ranges were deleted,
the ctx.high.low[i] was left pointing to a temporary array.
src/http/modules/ngx_http_geo_module.c
src/stream/ngx_stream_geo_module.c