mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Fix #78212: Segfault in built-in webserver
This commit is contained in:
commit
17997a908d
2 changed files with 6 additions and 0 deletions
|
@ -95,6 +95,10 @@ void vsyslog(int priority, const char *message, va_list args)
|
|||
DWORD evid;
|
||||
wchar_t *strsw[2];
|
||||
|
||||
/* default event source */
|
||||
if (INVALID_HANDLE_VALUE == PW32G(log_source))
|
||||
openlog("php", LOG_PID, LOG_SYSLOG);
|
||||
|
||||
switch (priority) { /* translate UNIX type into NT type */
|
||||
case LOG_ALERT:
|
||||
etype = EVENTLOG_ERROR_TYPE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue