Bug #2719 Updated: Syslog functions permanently change tident and facility

From: Date: Sun, 16 Jun 2002 13:01:01 +0000
Subject: Bug #2719 Updated: Syslog functions permanently change tident and facility
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10719@lists.php.net to get a copy of this message
ID: 2719 Updated by: sander@php.net Reported By: giannici@neomedia.it -Status: Open +Status: Bogus Bug Type: Other Operating System: OpenBSD 2.5 i386 PHP Version: 3.0.12 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately, PHP 3 is no longer supported. Please download the latest version of PHP 4 from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [1999-11-13 12:24:27] giannici@neomedia.it If PHP is run as an Apache module, and a script use the openlog() function, it changes the "ident" and "facility" of the current thread. So, if Apache uses syslog to log its errors (ErrorLog syslog), all subsequent errors are sent to the facility set by the previous PHP script. Moreover, it is possible that the "ident" parameter points to a memory location now freed, so garbage apperas into the logs! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=2719&edit=1

« previous php.bugs (#10719) next »