Dmitry Stogov [Tue, 13 May 2014 11:24:40 +0000 (15:24 +0400)]
Merge branch 'master' into phpng
* master: (41 commits)
fix test - output can be chunked
fix test
fix test
Fixed test for commit 997be125eb0228c5b1b6dd278f617791e71192c6
Add bug fix to NEWS
Update UPGRADING according to bug fix
fix test
improve CURL tests to allow testing without separate server
improve CURL tests to allow testing without separate server
Fixed bug #67199 mb_regex_encoding mishmash
Fix bug #67248 (imageaffinematrixget missing check of parameters)
Fix bug #67247 spl_fixedarray_resize integer overflow
fix news
add tests stuff to README
Updated NEWS
Fix Linux specific fail in error traces (cherry-picked and fix for bug #67245) Linux apparently does not like memcpy in overlapping regions...
- Fixed off-by-one in phar_build (patch by crrodriguez at opensuse dot org)
- Move checking
- Fixed missing NULL check in SimpleXMLElement::xpath()
- Fixed missing NULL check
...
Dmitry Stogov [Tue, 13 May 2014 09:18:00 +0000 (13:18 +0400)]
In most user extensions functions like mysql_close() should use zend_list_close() instead of zend_list_delete(). This closes the actual connection and frees extension specific data structures, but doesn't free zend_reference structure that might be referenced from zval(s). This also doesn't decrement the resource reference counter.
Dmitry Stogov [Tue, 13 May 2014 08:47:34 +0000 (12:47 +0400)]
Fixed safe resource close.
It must not de deleted (just closed), because it still may be referenced from zval(s).
This fixes few ext/ftp test memory failures detected with valgrind.
Dmitry Stogov [Tue, 13 May 2014 08:14:55 +0000 (12:14 +0400)]
Nested PCRE calls may clobber extra->mark and it has to be reinitailized
This fixes invalid memory writes (detected with valgrind) in Zend/tests/closure_047.phpt and Zend/tests/closure_048.phpt.
Pierre Joye [Tue, 13 May 2014 04:51:45 +0000 (06:51 +0200)]
Merge branch 'phpng' of git.php.net:php-src into phpng
# By Dmitry Stogov (5) and others
# Via Xinchen Hui (3) and Dmitry Stogov (1)
* 'phpng' of git.php.net:php-src:
restore unexpected commit
Convert to unpacked before deleting elements
- Fixed ZTS build
Fix memory error in spl_directory.c
Fix spl_directory cast_object, reenable error
Support for ext/phar (all tests passed)
ext/phar support (incomplete)
Fixed double free (xmlrpc is done, 1 test failed due to knew issue)
Fixed typo
Refactoring ext/xmlrpc (incompleted)
Removed error message that breaks phar
ext/phar support (incomplete)
Refactor ext/gd (all tests passes)
Fixed wrong buffer length (added place for terminating zero)
Pierre Joye [Mon, 12 May 2014 04:46:59 +0000 (06:46 +0200)]
Merge branch 'phpng' of git.php.net:php-src into phpng
# By Xinchen Hui
# Via Xinchen Hui
* 'phpng' of git.php.net:php-src:
Fixed reference handling
Fixed IS_INDRICT handling
Fixed fields handling
Refactoring wddx (incompleted, is there any one use it? )
Finish refactoring of MySQLi
Various bug fixes (now 17 tests fails, it is 11 in trunk)
Various bug fixed
* PHP-5.6:
Fix bug #67248 (imageaffinematrixget missing check of parameters)
Fix bug #67247 spl_fixedarray_resize integer overflow
fix news
add tests stuff to README
Updated NEWS
Fix Linux specific fail in error traces (cherry-picked and fix for bug #67245) Linux apparently does not like memcpy in overlapping regions...
* PHP-5.5:
Fix bug #67248 (imageaffinematrixget missing check of parameters)
Fix bug #67247 spl_fixedarray_resize integer overflow
fix news
add tests stuff to README
Updated NEWS
Fix Linux specific fail in error traces (cherry-picked and fix for bug #67245) Linux apparently does not like memcpy in overlapping regions...
Pierre Joye [Sun, 11 May 2014 06:55:10 +0000 (08:55 +0200)]
Merge branch 'phpng' of git.php.net:php-src into phpng
# By Xinchen Hui (27) and others
# Via Xinchen Hui (5) and others
* 'phpng' of git.php.net:php-src: (47 commits)
Refactor MySQLi (incompleted, only compilable now)
Add support for pspell
update for phpng
Test push (previous push didn't send mail?)
Added smart_string to avoid string duplicated
Use strpprintf
Added vstrpprintf strpprintf to avoid duplicate string
Refactor sysvsem, sysvshm, sysmsg
Fix identical comparison of arrays with references
Fix strtr() segfault
Code cleanup in proc_open
Finish ext/curl (7 tests fails as trunk)
Fixed post data (long type cast matters here :<)
Use zend_string for better performance
Fixed clone refcount
Fixed build with high version libcurl
Refactoring ext/curl (only compilable now)
Fix proc_open resource destruction
Support for ext/phar (incomplete)
Finish bz2 (all tests passed)
...