cvs: php-src(PHP_5_1) / NEWS /ext/standard syslog.c
| From: | Ilia Alshanetsky | Date: | Tue, 21 Mar 2006 00:59:09 +0000 |
| Subject: | cvs: php-src(PHP_5_1) / NEWS /ext/standard syslog.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-37374@lists.php.net to get a copy of this message | ||
iliaa Tue Mar 21 00:59:09 2006 UTC
Modified files: (Branch: PHP_5_1)
/php-src/ext/standard syslog.c
/php-src NEWS
Log:
Fixed bug #36689 (Removed arbitrary limit on the length of syslog messages).
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/syslog.c?r1=1.49.2.2&r2=1.49.2.3&diff_format=u
Index: php-src/ext/standard/syslog.c
diff -u php-src/ext/standard/syslog.c:1.49.2.2 php-src/ext/standard/syslog.c:1.49.2.3
--- php-src/ext/standard/syslog.c:1.49.2.2 Mon Mar 20 23:03:11 2006
+++ php-src/ext/standard/syslog.c Tue Mar 21 00:59:08 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: syslog.c,v 1.49.2.2 2006/03/20 23:03:11 tony2001 Exp $ */
+/* $Id: syslog.c,v 1.49.2.3 2006/03/21 00:59:08 iliaa Exp $ */
#include "php.h"
@@ -267,12 +267,7 @@
return;
}
- /*
- * CAVEAT: if the message contains patterns such as "%s",
- * this will cause problems.
- */
-
- php_syslog(priority, "%.500s", message);
+ php_syslog(priority, "%s", message);
RETURN_TRUE;
}
/* }}} */
http://cvs.php.net/viewcvs.cgi/php-src/NEWS?r1=1.2027.2.471&r2=1.2027.2.472&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.471 php-src/NEWS:1.2027.2.472
--- php-src/NEWS:1.2027.2.471 Mon Mar 20 23:03:11 2006
+++ php-src/NEWS Tue Mar 21 00:59:08 2006
@@ -18,6 +18,8 @@
defined). (Tony)
- Fixed bug #36697 (Transparency is lost when using imagecreatetruecolor).
(Pierre)
+- Fixed bug #36689 (Removed arbitrary limit on the length of syslog messages).
+ (Ilia)
- Fixed bug #36629 (SoapServer::handle() exits on SOAP faults). (Dmitry)
- Fixed Bug #36614 (Segfault when using Soap). (Dmitry)
- Fixed bug #36568 (memory_limit setting on win32 has no effect). (Dmitry)