]> granicus.if.org Git - php/commit
Fix event log handling in startup phase
authorAnatol Belski <ab@php.net>
Fri, 6 Jul 2018 11:59:14 +0000 (13:59 +0200)
committerAnatol Belski <ab@php.net>
Fri, 6 Jul 2018 14:07:28 +0000 (16:07 +0200)
commit246cb03e261a8fb499a1cdb70d609a19c26a6574
treee877da186a931923db7c6fbc0bfc412d8778c2da
parent3847a6fcb63c362548e9434b195232f2dcf7a6c7
Fix event log handling in startup phase

The log header can be saved in the globals on startup. At the same
time, the log header can be changed per request. In case that
happened, wrong pointer will be free'd on shutdown. It can happen at
any point when zend_error() or similar is called at startup, like for
example in the case of the ini deprecation warnings. Thus, ZMM cannot
be used here.
win32/wsyslog.c