Date: 09/02/99
- Next message: Bug Database: "[PHP-DEV] Bug #1955 Updated: SEGV for httpd on error_log"
- Previous message: Rasmus Lerdorf: "Re: [PHP-DEV] 3.0.12: mysql_store_result in php3_mysql_query"
- Next in thread: Adam Trachtenberg: "Re: [PHP-DEV] cvs: /php3 main.c"
- Reply: Adam Trachtenberg: "Re: [PHP-DEV] cvs: /php3 main.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
coar Thu Sep 2 18:34:57 1999 EDT
Modified files:
/php3 main.c
Log:
Close bug #1955; force the log message to be interpreted as
a string, rather than potentially as a format.
Index: php3/main.c
diff -u php3/main.c:1.504 php3/main.c:1.505
--- php3/main.c:1.504 Mon Aug 16 16:10:00 1999
+++ php3/main.c Thu Sep 2 18:34:56 1999
@@ -29,7 +29,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.504 1999/08/16 20:10:00 rasmus Exp $ */
+/* $Id: main.c,v 1.505 1999/09/02 22:34:56 coar Exp $ */
/* #define CRASH_DETECTION */
@@ -268,7 +268,8 @@
#if APACHE
if (GLOBAL(php3_rqst)) {
#if MODULE_MAGIC_NUMBER >= 19970831
- aplog_error(NULL, 0, APLOG_ERR | APLOG_NOERRNO, php3_rqst->server, log_message);
+ aplog_error(NULL, 0, APLOG_ERR | APLOG_NOERRNO, php3_rqst->server,
+ "%s", log_message);
#else
log_error(log_message, php3_rqst->server);
#endif
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] Bug #1955 Updated: SEGV for httpd on error_log"
- Previous message: Rasmus Lerdorf: "Re: [PHP-DEV] 3.0.12: mysql_store_result in php3_mysql_query"
- Next in thread: Adam Trachtenberg: "Re: [PHP-DEV] cvs: /php3 main.c"
- Reply: Adam Trachtenberg: "Re: [PHP-DEV] cvs: /php3 main.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

