Pierre Joye [Fri, 16 May 2014 05:25:12 +0000 (07:25 +0200)]
Merge branch 'phpng' of git.php.net:php-src into phpng
# By Dmitry Stogov
# Via Dmitry Stogov
* 'phpng' of git.php.net:php-src:
Fixed WSDL attibute parsing
fixed reference counting and memory leak
Partial fix for XML references handling
Fixed handling of compressed SOAP requests
Fixed support for SOAP_PERSISTENCE_SESSION
Fixed support for empty strings
Buffer has to be reallocated on each loop iteration
Support for IS_INDIRECT
Buffer has to be reallocated on each loop iteration
Pierre Joye [Thu, 15 May 2014 15:53:44 +0000 (17:53 +0200)]
Merge branch 'phpng' of git.php.net:php-src into phpng
# By Dmitry Stogov (4) and others
# Via Xinchen Hui
* 'phpng' of git.php.net:php-src:
Made a little clean up
check for EG(excepton)
key->len doesn't include trailing space anymore
Fixed WSDL parsing
add support for pdo-pgsql in phpng refactoring
Fixed memory leaks
Pierre Joye [Thu, 15 May 2014 10:03:58 +0000 (12:03 +0200)]
Merge branch 'phpng' of git.php.net:php-src into phpng
# By Dmitry Stogov (1) and Xinchen Hui (1)
# Via Dmitry Stogov
* 'phpng' of git.php.net:php-src:
Fixed hack. now we may store numbers not as pointers.
Fixed two tests, 1 left
Pierre Joye [Thu, 15 May 2014 09:50:09 +0000 (11:50 +0200)]
Merge branch 'phpng' of git.php.net:php-src into phpng
# By Dmitry Stogov (2) and Xinchen Hui (1)
# Via Dmitry Stogov (2) and Xinchen Hui (1)
* 'phpng' of git.php.net:php-src:
Fixed zend_string/char* mess
Refactored ext/xsl, need some help in 3 tests failed
Fixed SoapFault handling
Dmitry Stogov [Thu, 15 May 2014 08:14:08 +0000 (12:14 +0400)]
Merge branch 'phpng' of git.php.net:php-src into phpng
* 'phpng' of git.php.net:php-src:
fix invalid use of STR_FREE > efree
RETURN_STRING takes the char* only now (always copied)
RETURN_STRING takes the char* only now
fix build
Pierre Joye [Thu, 15 May 2014 08:05:04 +0000 (10:05 +0200)]
Merge branch 'phpng' of git.php.net:php-src into phpng
# By Dmitry Stogov
# Via Dmitry Stogov
* 'phpng' of git.php.net:php-src:
Fixed reference counting and memory leak
Fixed SOAP error handling
Array with var_args must not be deallocated any more
Allow just set or get context passing NULL pointers
Removed support for old-style resource destructors (only ext/soap used it)
Pierre Joye [Wed, 14 May 2014 18:06:58 +0000 (20:06 +0200)]
Merge branch 'phpng' of git.php.net:php-src into phpng
# By Stanislav Malyshev (15) and others
# Via Stanislav Malyshev (15) and others
* 'phpng' of git.php.net:php-src: (53 commits)
Use defined macro
Refactored tidy (all tests passes)
Reverted wrong commit Xinchen, stop commit changed configs :) You may use environment variables to ovverride default settings
Fixed reference counting, IS_REFERENCE and IS_INDIRECT support
Terminate string Useproper hash function
C89 compat
Fixed curl_close() behavior
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.
Fixed access to uninitialized data and attempt to double free
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.
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.
Added comment
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
...
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 06:08:25 +0000 (08:08 +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:
Save one type checking if the type is already string
This should be removed too
Remove zval **
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)