aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_shmem.h
diff options
context:
space:
mode:
authorPiotr Sikora <piotr@cloudflare.com>2014-06-03 10:53:48 -0700
committerPiotr Sikora <piotr@cloudflare.com>2014-06-03 10:53:48 -0700
commita1a8defb4956ce5416ff633c47da2dc4d473fac0 (patch)
tree2c25bc4d32719bf3fea00372c8e8d70bd58a6db6 /src/os/unix/ngx_shmem.h
parentafb4aafc6e42781068ce3f23d22fd6e2012787c7 (diff)
downloadnginx-a1a8defb4956ce5416ff633c47da2dc4d473fac0.tar.gz
nginx-a1a8defb4956ce5416ff633c47da2dc4d473fac0.zip
Access log: fix default value, broken by cb308813b453.
log->filter ("if" parameter) was uninitialized when the default value was being used, which would lead to a crash (SIGSEGV) when access_log directive wasn't specified in the configuration. Zero-fill the whole structure instead of zeroing fields one-by-one in order to prevent similar issues in the future. Signed-off-by: Piotr Sikora <piotr@cloudflare.com>
Diffstat (limited to 'src/os/unix/ngx_shmem.h')
0 files changed, 0 insertions, 0 deletions