?? ??? 2011, PHP 5.3.9
- Core:
- . Fixed bug #55859 (mysqli->stat property access gives error). (Andrey)
. Fixed bug #55798 (serialize followed by unserialize with numeric object
prop. gives integer prop). (Gustavo)
. Fixed bug #55749 (TOCTOU issue in getenv() on Windows builds). (Pierre)
. Fixed bug #55707 (undefined reference to `__sync_fetch_and_add_4' on Linux
parisc). (Felipe)
+ . Fixed bug #55674 (fgetcsv & str_getcsv skip empty fields in some
+ tab-separated records). (Laruence)
. Fixed bug #55649 (Undefined function Bug()). (Laruence)
. Fixed bug #55622 (memory corruption in parse_ini_string). (Pierre)
. Fixed bug #55576 (Cannot conditionally move uploaded file without race
. Fixed bug #55366 (keys lost when using substr_replace an array) (Arpad)
. Fixed bug #55273 (base64_decode() with strict rejects whitespace after
pad). (Ilia)
- . Fixed bug #54304 (RegexIterator::accept() doesn't work with scalar values).
- (Hannes)
. Fixed bug #50982 (incorrect assumption of PAGE_SIZE size). (Dmitry)
- Calendar:
. Fixed bug #55550 (mysql.trace_mode miscounts result sets). (Johannes)
- MySQLi extension:
+ . Fixed bug #55859 (mysqli->stat property access gives error). (Andrey)
. Fixed bug #55582 (mysqli_num_rows() returns always 0 for unbuffered, when
mysqlnd is used). (Andrey)
. Fixed bug #55703 (PHP crash when calling mysqli_fetch_fields).
. Reverted the SimpleXML->query() behaviour to returning empty arrays
instead of false when no nodes are found as it was since 5.3.3
(bug #48601). (chregu, rrichards)
-
-- String:
- . Fixed bug #55674 (fgetcsv & str_getcsv skip empty fields in some tab-separated
- records). (Laruence)
+
+- Sockets:
+ . Fixed bug #60048 (sa_len a #define on IRIX). (china at thewrittenword dot com)
- SPL:
. Fixed bug #55807 (Wrong value for splFileObject::SKIP_EMPTY).
(jgotti at modedemploi dot fr, Hannes)
+ . Fixed bug #54304 (RegexIterator::accept() doesn't work with scalar values).
+ (Hannes)
- XSL:
. Added xsl.security_prefs ini option to define forbidden operations within XSLT
zval *arg1;
php_socket *php_sock, *new_sock;
php_sockaddr_storage sa;
- socklen_t sa_len = sizeof(sa);
+ socklen_t php_sa_len = sizeof(sa);
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &arg1) == FAILURE) {
return;
ZEND_FETCH_RESOURCE(php_sock, php_socket *, &arg1, -1, le_socket_name, le_socket);
- if (!php_accept_connect(php_sock, &new_sock, (struct sockaddr*)&sa, &sa_len TSRMLS_CC)) {
+ if (!php_accept_connect(php_sock, &new_sock, (struct sockaddr*)&sa, &php_sa_len TSRMLS_CC)) {
RETURN_FALSE;
}