]> git.kaiwu.me - nginx.git/commit
Core: don't reuse shared memory zone that changed ownership (ticket #210).
authorRuslan Ermilov <ru@nginx.com>
Fri, 23 Nov 2012 12:43:58 +0000 (12:43 +0000)
committerRuslan Ermilov <ru@nginx.com>
Fri, 23 Nov 2012 12:43:58 +0000 (12:43 +0000)
commita94a101c79a4d6d14eaffb210d2e7d0afb3de7b0
tree6788319b48556fbaacd068ef6ab2d89699d541d4
parent9f385870f663ff48a511e07e63e85d28737c3384
Core: don't reuse shared memory zone that changed ownership (ticket #210).

nginx doesn't allow the same shared memory zone to be used for different
purposes, but failed to check this on reconfiguration.  If a shared memory
zone was used for another purpose in the new configuration, nginx attempted
to reuse it and crashed.
src/core/ngx_cycle.c