]> git.kaiwu.me - nginx.git/commit
Fixed segfault with poll and resolver used.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 18 Jun 2012 14:10:50 +0000 (14:10 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 18 Jun 2012 14:10:50 +0000 (14:10 +0000)
commita769c530ff587705754469c01c41688a995a12ce
tree50e09eca026c7cb0a655fc00f0f16aa7a0731730
parentc45bd10b1c0b602446c68bcf3845d67737aedea2
Fixed segfault with poll and resolver used.

Poll event method needs ngx_cycle->files to work, and use of ngx_exit_cycle
without files set caused null pointer dereference in resolver's cleanup
on udp socket close.
src/os/unix/ngx_process_cycle.c