[PHP-CVS-DAILY] cvs: ZendEngine2 / ChangeLog
changelog Thu May 12 20:35:06 2005 EDT Modified files: /ZendEngine2ChangeLog Log: ChangeLog update http://cvs.php.net/diff.php/ZendEngine2/ChangeLog?r1=1.689r2=1.690ty=u Index: ZendEngine2/ChangeLog diff -u ZendEngine2/ChangeLog:1.689 ZendEngine2/ChangeLog:1.690 --- ZendEngine2/ChangeLog:1.689 Fri May 6 20:36:11 2005 +++ ZendEngine2/ChangeLog Thu May 12 20:35:04 2005 @@ -1,3 +1,8 @@ +2005-05-12 Marcus Boerger [EMAIL PROTECTED] + +* zend_reflection_api.c: + - Make ReflectionObject::hasProperty() recognize dynamically added props + 2005-05-06 Jani Taskinen [EMAIL PROTECTED] * zend_object_handlers.h: @@ -7890,7 +7895,7 @@ 2003-06-10 Jani Taskinen [EMAIL PROTECTED] * zend_multiply.h: - - Missing $Id: ChangeLog,v 1.689 2005/05/07 00:36:11 changelog Exp $ tag + - Missing $Id: ChangeLog,v 1.690 2005/05/13 00:35:04 changelog Exp $ tag 2003-06-10 James Cox [EMAIL PROTECTED] @@ -9614,7 +9619,7 @@ zend_types.h zend_variables.c zend_variables.h: - - Added some missing CVS $Id: ChangeLog,v 1.689 2005/05/07 00:36:11 changelog Exp $ tags, headers and footers. + - Added some missing CVS $Id: ChangeLog,v 1.690 2005/05/13 00:35:04 changelog Exp $ tags, headers and footers. 2003-01-30 Ilia Alshanetsky [EMAIL PROTECTED]
[PHP-CVS-DAILY] cvs: php-src / ChangeLog
changelog Thu May 12 20:34:52 2005 EDT Modified files: /php-srcChangeLog Log: ChangeLog update http://cvs.php.net/diff.php/php-src/ChangeLog?r1=1.1981r2=1.1982ty=u Index: php-src/ChangeLog diff -u php-src/ChangeLog:1.1981 php-src/ChangeLog:1.1982 --- php-src/ChangeLog:1.1981Wed May 11 20:35:46 2005 +++ php-src/ChangeLog Thu May 12 20:34:51 2005 @@ -1,3 +1,22 @@ +2005-05-12 Marcus Boerger [EMAIL PROTECTED] + +* ZendEngine2/zend_reflection_api.c: + - Make ReflectionObject::hasProperty() recognize dynamically added props + +2005-05-12 Antony Dovgal [EMAIL PROTECTED] + +* (PHP_4_3) + NEWS + NEWS + ext/sockets/sockets.c + ext/sockets/sockets.c: + MFH: fix #33019 (socket errors cause memory leaks in php_strerror()) + patch by jwozniak23 at poczta dot onet dot pl + +* ext/sockets/sockets.c: + fix #33019 (socket errors cause memory leaks in php_strerror()) + patch by jwozniak23 at poczta dot onet dot pl + 2005-05-11 Joe Orton [EMAIL PROTECTED] * (PHP_5_0) @@ -2153,7 +2172,7 @@ * (PHP_4_3) ext/standard/url_scanner_ex.re: - Missing $Id: ChangeLog,v 1.1981 2005/05/12 00:35:46 changelog Exp $ tag + Missing $Id: ChangeLog,v 1.1982 2005/05/13 00:34:51 changelog Exp $ tag * (PHP_5_0) ext/standard/url_scanner_ex.c: @@ -5554,7 +5573,7 @@ ext/session/mod_mm.h ext/session/mod_user.h ext/session/php_session.h: - - Missing $Id: ChangeLog,v 1.1981 2005/05/12 00:35:46 changelog Exp $ tags + - Missing $Id: ChangeLog,v 1.1982 2005/05/13 00:34:51 changelog Exp $ tags * (PHP_4_3) ext/session/session.c: @@ -6035,7 +6054,7 @@ * (PHP_4_3) Zend/zend_ini_scanner.l: - Missing $Id: ChangeLog,v 1.1981 2005/05/12 00:35:46 changelog Exp $ tag + ws fix + Missing $Id: ChangeLog,v 1.1982 2005/05/13 00:34:51 changelog Exp $ tag + ws fix * ZendEngine2/zend_ini_scanner.l ZendEngine2/zend_ini_scanner.l: @@ -7509,7 +7528,7 @@ ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.h ext/standard/url_scanner_ex.re: - Missing $Id: ChangeLog,v 1.1981 2005/05/12 00:35:46 changelog Exp $ tag + Missing $Id: ChangeLog,v 1.1982 2005/05/13 00:34:51 changelog Exp $ tag * ext/standard/credits_ext.h ext/standard/credits_sapi.h:
[PHP-CVS] cvs: php-src /ext/sockets sockets.c
tony2001Thu May 12 12:26:27 2005 EDT Modified files: /php-src/ext/socketssockets.c Log: fix #33019 (socket errors cause memory leaks in php_strerror()) patch by jwozniak23 at poczta dot onet dot pl http://cvs.php.net/diff.php/php-src/ext/sockets/sockets.c?r1=1.169r2=1.170ty=u Index: php-src/ext/sockets/sockets.c diff -u php-src/ext/sockets/sockets.c:1.169 php-src/ext/sockets/sockets.c:1.170 --- php-src/ext/sockets/sockets.c:1.169 Mon Feb 14 18:44:23 2005 +++ php-src/ext/sockets/sockets.c Thu May 12 12:26:26 2005 @@ -19,7 +19,7 @@ +--+ */ -/* $Id: sockets.c,v 1.169 2005/02/14 23:44:23 sniper Exp $ */ +/* $Id: sockets.c,v 1.170 2005/05/12 16:26:26 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include config.h @@ -321,6 +321,10 @@ buf = hstrerror(error); #else { + if (SOCKETS_G(strerror_buf)) { + efree(SOCKETS_G(strerror_buf)); + } + spprintf((SOCKETS_G(strerror_buf)), 0, Host lookup error %d, error); buf = SOCKETS_G(strerror_buf); } @@ -335,6 +339,11 @@ if (FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL, error, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPTSTR) tmp, 0, NULL)) { + + if (SOCKETS_G(strerror_buf)) { + efree(SOCKETS_G(strerror_buf)); + } + SOCKETS_G(strerror_buf) = estrdup(tmp); LocalFree(tmp); -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_5_0) / NEWS /ext/sockets sockets.c
tony2001Thu May 12 12:27:06 2005 EDT Modified files: (Branch: PHP_5_0) /php-src/ext/socketssockets.c /php-srcNEWS Log: MFH: fix #33019 (socket errors cause memory leaks in php_strerror()) patch by jwozniak23 at poczta dot onet dot pl http://cvs.php.net/diff.php/php-src/ext/sockets/sockets.c?r1=1.165.2.3r2=1.165.2.4ty=u Index: php-src/ext/sockets/sockets.c diff -u php-src/ext/sockets/sockets.c:1.165.2.3 php-src/ext/sockets/sockets.c:1.165.2.4 --- php-src/ext/sockets/sockets.c:1.165.2.3 Mon Feb 14 18:44:31 2005 +++ php-src/ext/sockets/sockets.c Thu May 12 12:27:05 2005 @@ -19,7 +19,7 @@ +--+ */ -/* $Id: sockets.c,v 1.165.2.3 2005/02/14 23:44:31 sniper Exp $ */ +/* $Id: sockets.c,v 1.165.2.4 2005/05/12 16:27:05 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include config.h @@ -321,6 +321,10 @@ buf = hstrerror(error); #else { + if (SOCKETS_G(strerror_buf)) { + efree(SOCKETS_G(strerror_buf)); + } + spprintf((SOCKETS_G(strerror_buf)), 0, Host lookup error %d, error); buf = SOCKETS_G(strerror_buf); } @@ -335,6 +339,11 @@ if (FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL, error, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPTSTR) tmp, 0, NULL)) { + + if (SOCKETS_G(strerror_buf)) { + efree(SOCKETS_G(strerror_buf)); + } + SOCKETS_G(strerror_buf) = estrdup(tmp); LocalFree(tmp); http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1760.2.381r2=1.1760.2.382ty=u Index: php-src/NEWS diff -u php-src/NEWS:1.1760.2.381 php-src/NEWS:1.1760.2.382 --- php-src/NEWS:1.1760.2.381 Tue May 10 19:15:23 2005 +++ php-src/NEWSThu May 12 12:27:06 2005 @@ -11,6 +11,8 @@ - Fixed ext/mysqli to allocate less memory when fetching bound params of type (MEDIUM|LONG)BLOB/(MEDIUM|LONG)TEXT. (Andrey) - Fixed memory corruption in ImageTTFText() with 64bit systems. (Andrey) +- Fixed bug #33019 (socket errors cause memory leaks in php_strerror()). + (jwozniak23 at poczta dot onet dot pl, Tony). - Fixed bug #32956 (mysql_bind_result() doesn't support MYSQL_TYPE_NULL). (Georg) - Fixed bug #32947 (Incorrect option for mysqli default password). (Georg) - Fixed bug #32936 (http redirects URLs are not checked for control chars). (Ilia) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_4_3) / NEWS /ext/sockets sockets.c
tony2001Thu May 12 12:27:23 2005 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/socketssockets.c /php-srcNEWS Log: MFH: fix #33019 (socket errors cause memory leaks in php_strerror()) patch by jwozniak23 at poczta dot onet dot pl http://cvs.php.net/diff.php/php-src/ext/sockets/sockets.c?r1=1.125.2.28r2=1.125.2.29ty=u Index: php-src/ext/sockets/sockets.c diff -u php-src/ext/sockets/sockets.c:1.125.2.28 php-src/ext/sockets/sockets.c:1.125.2.29 --- php-src/ext/sockets/sockets.c:1.125.2.28Mon Feb 14 18:46:07 2005 +++ php-src/ext/sockets/sockets.c Thu May 12 12:27:21 2005 @@ -19,7 +19,7 @@ +--+ */ -/* $Id: sockets.c,v 1.125.2.28 2005/02/14 23:46:07 sniper Exp $ */ +/* $Id: sockets.c,v 1.125.2.29 2005/05/12 16:27:21 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include config.h @@ -354,6 +354,10 @@ buf = hstrerror(error); #else { + if (SOCKETS_G(strerror_buf)) { + efree(SOCKETS_G(strerror_buf)); + } + spprintf((SOCKETS_G(strerror_buf)), 0, Host lookup error %d, error); buf = SOCKETS_G(strerror_buf); } @@ -368,6 +372,11 @@ if (FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL, error, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPTSTR) tmp, 0, NULL)) { + + if (SOCKETS_G(strerror_buf)) { + efree(SOCKETS_G(strerror_buf)); + } + SOCKETS_G(strerror_buf) = estrdup(tmp); LocalFree(tmp); http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1247.2.901r2=1.1247.2.902ty=u Index: php-src/NEWS diff -u php-src/NEWS:1.1247.2.901 php-src/NEWS:1.1247.2.902 --- php-src/NEWS:1.1247.2.901 Tue May 10 19:15:05 2005 +++ php-src/NEWSThu May 12 12:27:22 2005 @@ -7,6 +7,8 @@ them sort based on the current locale. (Derick) - Changed sha1_file() and md5_file() functions to use streams instead of low level IO. (Uwe) +- Fixed bug #33019 (socket errors cause memory leaks in php_strerror()). + (jwozniak23 at poczta dot onet dot pl, Tony). - Fixed bug #32974 (pcntl calls malloc() from a signal handler). (Wez) - Fixed bug #32936 (http redirects URLs are not checked for control chars). (Ilia) - Fixed bug #32932 (Oracle LDAP: ldap_get_entries invalid pointer). (Jani) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php