]> git.kaiwu.me - nginx.git/commit
Realip: fixed uninitialized memory access.
authorRoman Arutyunyan <arut@nginx.com>
Thu, 1 Sep 2016 11:33:51 +0000 (14:33 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Thu, 1 Sep 2016 11:33:51 +0000 (14:33 +0300)
commitc6ba4aae38af53a378a57fd196fe32ccb3b4131d
tree3da59103d529c7ef8c93e68d98d37a36309f5550
parent048ee941302b5476dc69cca6169e03722a2000f5
Realip: fixed uninitialized memory access.

Previously, the realip module could be left with uninitialized context after an
error in the ngx_http_realip_set_addr() function.  That context could be later
accessed by $realip_remote_addr and $realip_remote_port variable handlers.
src/http/modules/ngx_http_realip_module.c