iliaa Wed Feb 20 15:28:38 2008 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard syslog.c
/php-src NEWS
Log:
MFB: Fixed bug #44152 (Possible crash with syslog logging on ZTS builds).
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/syslog.c?r1=1.49.2.3.2.3&r2=1.49.2.3.2.4&diff_format=u
Index: php-src/ext/standard/syslog.c
diff -u php-src/ext/standard/syslog.c:1.49.2.3.2.3
php-src/ext/standard/syslog.c:1.49.2.3.2.4
--- php-src/ext/standard/syslog.c:1.49.2.3.2.3 Mon Dec 31 07:20:13 2007
+++ php-src/ext/standard/syslog.c Wed Feb 20 15:28:37 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: syslog.c,v 1.49.2.3.2.3 2007/12/31 07:20:13 sebastian Exp $ */
+/* $Id: syslog.c,v 1.49.2.3.2.4 2008/02/20 15:28:37 iliaa Exp $ */
#include "php.h"
@@ -110,6 +110,7 @@
} else {
BG(syslog_started)=0;
}
+ BG(syslog_device) = NULL;
return SUCCESS;
}
@@ -126,6 +127,7 @@
{
if (BG(syslog_device)) {
free(BG(syslog_device));
+ BG(syslog_device) = NULL;
}
return SUCCESS;
}
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1085&r2=1.2027.2.547.2.1086&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.1085 php-src/NEWS:1.2027.2.547.2.1086
--- php-src/NEWS:1.2027.2.547.2.1085 Wed Feb 20 12:04:48 2008
+++ php-src/NEWS Wed Feb 20 15:28:37 2008
@@ -10,10 +10,12 @@
which to group by data is specified. (Ilia)
- Upgraded PCRE to version 7.6 (Nuno)
+
- Fixed bug #44184 (Double free of loop-variable on exception). (Dmitry)
- Fixed bug #44171 (Invalid FETCH_COLUMN index does not raise an error). (Ilia)
- Fixed Bug #44159 (Crash: $pdo->setAttribute(PDO::STATEMENT_ATTR_CLASS,
NULL)).
(Felipe)
+- Fixed bug #44152 (Possible crash with syslog logging on ZTS builds). (Ilia)
- Fixed bug #44069 (Huge memory usage with concatenation using . instead of
.=). (Dmitry)
- Fixed bug #44046 (crash inside array_slice() function with an invalid
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php