comparison src/core/ngx_log.c @ 4496:be6c250b827b

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.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 27 Feb 2012 16:57:02 +0000
parents d620f497c50f
children d8af1005e886
comparison
equal deleted inserted replaced
4495:b4379a91f9b5 4496:be6c250b827b