]> git.kaiwu.me - nginx.git/commit
Merge of r4497:
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 5 Mar 2012 13:06:29 +0000 (13:06 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 5 Mar 2012 13:06:29 +0000 (13:06 +0000)
commit2d3fff0c5e1adb67991f6ca716e8bec42b2e61a7
treeae4c2e2515df26f6017b6a4055a6592b704ed983
parent031458770a48be9b0bf5534c70abfc8284f135d7
Merge of r4497:

Fixed null pointer dereference in resolver (ticket #91).

The cycle->new_log.file may not be set before config parsing finished if
there are no error_log directive defined at global level.  Fix is to
copy it after config parsing.

Patch by Roman Arutyunyan.
src/core/ngx_resolver.c