]> git.kaiwu.me - nginx.git/commit
Core: moved logging before freeing large blocks of pool.
authorValentin Bartenev <vbart@nginx.com>
Wed, 23 Mar 2016 14:44:04 +0000 (17:44 +0300)
committerValentin Bartenev <vbart@nginx.com>
Wed, 23 Mar 2016 14:44:04 +0000 (17:44 +0300)
commitb94eb1dfe6d40acc4ff5ba61284be1279895c9ed
tree08ef6beb698d533dbd3f74cc029ee7bfddd3e565
parent890ba54497f7b136adbd9e52edfab514c056672e
Core: moved logging before freeing large blocks of pool.

This fixes use-after-free memory access with enabled debug log
when pool->log is allocated as a large block.
src/core/ngx_palloc.c