]> granicus.if.org Git - php/log
php
9 years agofix more places with subtle negative zend_long to size_t cast
Anatol Belski [Mon, 29 Jun 2015 09:35:36 +0000 (11:35 +0200)]
fix more places with subtle negative zend_long to size_t cast

9 years agoremove useless check
Anatol Belski [Mon, 29 Jun 2015 09:24:11 +0000 (11:24 +0200)]
remove useless check

thanks Yasuo :)

9 years agoremove comment
Anatol Belski [Mon, 29 Jun 2015 08:56:51 +0000 (10:56 +0200)]
remove comment

f and l are the $start and $length, since they come from the user
land, they only can be zend_long

9 years agoRevert "Fixed last previously broken tests"
Dmitry Stogov [Mon, 29 Jun 2015 10:05:14 +0000 (13:05 +0300)]
Revert "Fixed last previously broken tests"

This reverts commit 79b1832dd5086cd9b4a2e778a62f1743b548726c.

9 years agoPrevent attempts of compile-time evaluation of invalid operators (e.g. division/modul...
Dmitry Stogov [Mon, 29 Jun 2015 09:58:07 +0000 (12:58 +0300)]
Prevent attempts of compile-time evaluation of invalid operators (e.g. division/modulo by zero and shift by negative number)

9 years agoReverted wrong fb08798c9f0ea820d567668d0cea4833dc61dd8e
Dmitry Stogov [Mon, 29 Jun 2015 09:20:09 +0000 (12:20 +0300)]
Reverted wrong fb08798c9f0ea820d567668d0cea4833dc61dd8e

9 years agoFixes ldap_sort-tests
Andreas Heigl [Mon, 29 Jun 2015 08:18:44 +0000 (10:18 +0200)]
Fixes ldap_sort-tests

Thanks to Côme Bernigaud for fixing!

9 years agoAdds deprecation-message for ldap_sort
Andreas Heigl [Sun, 28 Jun 2015 20:42:59 +0000 (22:42 +0200)]
Adds deprecation-message for ldap_sort

9 years agoDon't evaluate invalid constant expressions.
Dmitry Stogov [Mon, 29 Jun 2015 08:35:12 +0000 (11:35 +0300)]
Don't evaluate invalid constant expressions.

9 years agofix negative zend_long to size_t cast
Anatol Belski [Mon, 29 Jun 2015 08:27:13 +0000 (10:27 +0200)]
fix negative zend_long to size_t cast

9 years agoremoved unreachable code in the substr_replace function
Edgar R. Sandi [Fri, 26 Jun 2015 14:58:04 +0000 (11:58 -0300)]
removed unreachable code in the substr_replace function

9 years agoFixed bug #69955 (Segfault when trying to combine [] and assign-op on ArrayAccess...
Dmitry Stogov [Mon, 29 Jun 2015 08:17:56 +0000 (11:17 +0300)]
Fixed bug #69955 (Segfault when trying to combine [] and assign-op on ArrayAccess object). (Laruence)

9 years agokeep LDAP_DEPRECATED in config.w32
Anatol Belski [Mon, 29 Jun 2015 08:12:36 +0000 (10:12 +0200)]
keep LDAP_DEPRECATED in config.w32

9 years agoPutting back deprecated symbols for ldap_sort
Côme Bernigaud [Mon, 29 Jun 2015 07:07:49 +0000 (09:07 +0200)]
Putting back deprecated symbols for ldap_sort

9 years agoRemoved deprecated function calls from ldap module
Côme Bernigaud [Tue, 23 Jun 2015 14:44:48 +0000 (16:44 +0200)]
Removed deprecated function calls from ldap module

ldap_search -> ldap search_ext
ldap_search_s ->_ldap_search_ext_s
ldap_add_s -> ldap_add_ext_s
ldap_delete_s -> ldap_delete_ext_s
ldap_compare_s -> ldap_compare_ext_s
ldap_value_free -> ldap_memvfree

Only thing left is ldap_sort_entries, no replacement

Conflicts:
ext/ldap/ldap.c

9 years agoRemoved ifdefs of LDAP_API_FEATURE_X_OPENLDAP, fixed a warning
Côme Bernigaud [Tue, 23 Jun 2015 13:50:14 +0000 (15:50 +0200)]
Removed ifdefs of LDAP_API_FEATURE_X_OPENLDAP, fixed a warning

Conflicts:
ext/ldap/ldap.c

9 years agoMerge branch 'master' of git.php.net:php-src
Xinchen Hui [Mon, 29 Jun 2015 07:36:55 +0000 (15:36 +0800)]
Merge branch 'master' of git.php.net:php-src

9 years agoFixed memroy errors with valgrind
Xinchen Hui [Mon, 29 Jun 2015 07:36:02 +0000 (15:36 +0800)]
Fixed memroy errors with valgrind

9 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Mon, 29 Jun 2015 07:31:56 +0000 (00:31 -0700)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Move strlen() check to php_mail_detect_multiple_crlf()
  Fixed Bug #69874 : Can't set empty additional_headers for mail()

Conflicts:
ext/standard/mail.c

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Mon, 29 Jun 2015 07:30:55 +0000 (00:30 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Move strlen() check to php_mail_detect_multiple_crlf()
  Fixed Bug #69874 : Can't set empty additional_headers for mail()

9 years agoMerge branch 'master' of git.php.net:php-src
Xinchen Hui [Mon, 29 Jun 2015 07:17:58 +0000 (15:17 +0800)]
Merge branch 'master' of git.php.net:php-src

9 years agoFixed segfault in wordpress (introduced in rev 4a4529adb03a5e0d8c46809074a9bae37686e201)
Xinchen Hui [Mon, 29 Jun 2015 07:13:09 +0000 (15:13 +0800)]
Fixed segfault in wordpress (introduced in rev 4a4529adb03a5e0d8c46809074a9bae37686e201)

9 years agofix tests
Anatol Belski [Mon, 29 Jun 2015 07:05:56 +0000 (09:05 +0200)]
fix tests

9 years agoremove useless assignment
Anatol Belski [Sun, 28 Jun 2015 19:54:03 +0000 (21:54 +0200)]
remove useless assignment

9 years agofix FCGI crash in TS mode
Anatol Belski [Sun, 28 Jun 2015 19:47:02 +0000 (21:47 +0200)]
fix FCGI crash in TS mode

If CGI TS build is used, and there are some hard errors (fe missing
dependency .dll or .so), the core will want to log it. The CGI
log function will want to check whether fcgi_logging is enabled. But,
if this kind of error happens in the extension register phase,
MINIT for the CGI module is most likely wasn't run yet (startup phase).
That will result in accessing uninitialized globals and a crash.

9 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Mon, 29 Jun 2015 03:23:00 +0000 (20:23 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Move strlen() check to php_mail_detect_multiple_crlf()
  Fixed Bug #69874 : Can't set empty additional_headers for mail()

9 years agoMerge branch 'pull-request/1350' into PHP-5.4
Stanislav Malyshev [Mon, 29 Jun 2015 01:53:19 +0000 (18:53 -0700)]
Merge branch 'pull-request/1350' into PHP-5.4

* pull-request/1350:
  Move strlen() check to php_mail_detect_multiple_crlf()
  Fixed Bug #69874 : Can't set empty additional_headers for mail()

9 years agoFix assertion failure with Z_REFCOUNT() in info constants
Bob Weinand [Mon, 29 Jun 2015 01:43:36 +0000 (03:43 +0200)]
Fix assertion failure with Z_REFCOUNT() in info constants

9 years ago2nd arg of sprintf is optional
Rasmus Lerdorf [Mon, 29 Jun 2015 01:08:22 +0000 (18:08 -0700)]
2nd arg of sprintf is optional

9 years agoMake backtraces *much* more readable
Bob Weinand [Mon, 29 Jun 2015 00:51:10 +0000 (02:51 +0200)]
Make backtraces *much* more readable

9 years agoAdd yield from to frame leaving instructions
Bob Weinand [Mon, 29 Jun 2015 00:05:33 +0000 (02:05 +0200)]
Add yield from to frame leaving instructions

9 years agoShow exception source in phpdbg
Bob Weinand [Sun, 28 Jun 2015 23:41:04 +0000 (01:41 +0200)]
Show exception source in phpdbg

9 years agoFixed last previously broken tests
Bob Weinand [Sun, 28 Jun 2015 22:57:49 +0000 (00:57 +0200)]
Fixed last previously broken tests

9 years agoShow full signature upon inheritance mismatch
Bob Weinand [Sun, 28 Jun 2015 22:28:52 +0000 (00:28 +0200)]
Show full signature upon inheritance mismatch

9 years agoRemove now unneeded step option (-s)
Bob Weinand [Sun, 28 Jun 2015 20:23:50 +0000 (22:23 +0200)]
Remove now unneeded step option (-s)

9 years agoFix incompatible JSON errors
Jakub Zelenka [Sun, 28 Jun 2015 17:09:10 +0000 (18:09 +0100)]
Fix incompatible JSON errors

This fixes differences in error codes with PHP 5 and 7.
The malformed UTF-8 and control character error codes are
now returned even in non-string context which makes it
the same as it was in PHP 5 json ext.

9 years agoFix bug #69957 (Different ways of handling div/mod by zero)
Bob Weinand [Sun, 28 Jun 2015 16:22:10 +0000 (18:22 +0200)]
Fix bug #69957 (Different ways of handling div/mod by zero)

9 years agoFix bug #62010 (json_decode produces invalid byte-sequences)
Jakub Zelenka [Sun, 28 Jun 2015 16:16:12 +0000 (17:16 +0100)]
Fix bug #62010 (json_decode produces invalid byte-sequences)

9 years agoBump re2c version for json scanner
Jakub Zelenka [Sun, 28 Jun 2015 15:48:42 +0000 (16:48 +0100)]
Bump re2c version for json scanner

9 years agoFix bug #69952 (Dereferencing issue in session_start())
Bob Weinand [Sun, 28 Jun 2015 14:30:58 +0000 (16:30 +0200)]
Fix bug #69952 (Dereferencing issue in session_start())

9 years agoForgot to git add rope leak test
Bob Weinand [Sun, 28 Jun 2015 13:44:53 +0000 (15:44 +0200)]
Forgot to git add rope leak test

9 years agoFix rope memory leaks upon exception
Bob Weinand [Sun, 28 Jun 2015 13:42:05 +0000 (15:42 +0200)]
Fix rope memory leaks upon exception

9 years agoFixed ZEND_VM_DEFINE_OP build when --without-specializer
Xinchen Hui [Sun, 28 Jun 2015 13:16:08 +0000 (21:16 +0800)]
Fixed ZEND_VM_DEFINE_OP build when --without-specializer

9 years agoMerge branch 'master' of git.php.net:php-src
Xinchen Hui [Sun, 28 Jun 2015 11:17:37 +0000 (19:17 +0800)]
Merge branch 'master' of git.php.net:php-src

9 years agoUnused ret
Xinchen Hui [Sun, 28 Jun 2015 11:09:19 +0000 (19:09 +0800)]
Unused ret

9 years agoupdated NEWS
Anatol Belski [Sun, 28 Jun 2015 11:13:41 +0000 (13:13 +0200)]
updated NEWS

9 years agoCorrect oci8 hash destructors to prevent segfaults, and a few other fixes.
Cameron Porter [Sat, 27 Jun 2015 06:09:05 +0000 (01:09 -0500)]
Correct oci8 hash destructors to prevent segfaults, and a few other fixes.

9 years agotweak the zendparse symbol to be exported with newer bison
Anatol Belski [Sat, 27 Jun 2015 22:10:41 +0000 (00:10 +0200)]
tweak the zendparse symbol to be exported with newer bison

9 years agofix touching
Anatol Belski [Sat, 27 Jun 2015 21:38:48 +0000 (23:38 +0200)]
fix touching

9 years agotouch all the files before creating a tarball
Anatol Belski [Sat, 27 Jun 2015 20:06:15 +0000 (22:06 +0200)]
touch all the files before creating a tarball

9 years agofix one more bad char in the NEWS
Anatol Belski [Sat, 27 Jun 2015 19:09:00 +0000 (21:09 +0200)]
fix one more bad char in the NEWS

9 years agoremove BOM and a unicode char from the NEWS
Anatol Belski [Sat, 27 Jun 2015 19:08:00 +0000 (21:08 +0200)]
remove BOM and a unicode char from the NEWS

9 years agoupdated NEWS
Christoph M. Becker [Sat, 27 Jun 2015 18:07:06 +0000 (20:07 +0200)]
updated NEWS

9 years agoMerge branch 'PHP-5.6'
Christoph M. Becker [Sat, 27 Jun 2015 18:05:30 +0000 (20:05 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  updated NEWS
  Fixed #69655: php -S changes MKCALENDAR request method to MKCOL

9 years agoupdated NEWS
Christoph M. Becker [Sat, 27 Jun 2015 18:03:38 +0000 (20:03 +0200)]
updated NEWS

9 years agoFixed #69655: php -S changes MKCALENDAR request method to MKCOL
Christoph M. Becker [Sat, 27 Jun 2015 17:47:32 +0000 (19:47 +0200)]
Fixed #69655: php -S changes MKCALENDAR request method to MKCOL

The parsing of the request method in the CLI server has been faulty, so that
several unsupported methods have been recognized as other methods.

9 years agoMerge branch 'PHP-5.6'
Christoph M. Becker [Sat, 27 Jun 2015 13:05:29 +0000 (15:05 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  added skip condition for powershell requirement of test

9 years agoadded skip condition for powershell requirement of test
Christoph M. Becker [Sat, 27 Jun 2015 13:02:52 +0000 (15:02 +0200)]
added skip condition for powershell requirement of test

9 years agoupdated NEWS
Christoph M. Becker [Sat, 27 Jun 2015 12:38:37 +0000 (14:38 +0200)]
updated NEWS

9 years agoMerge branch 'PHP-5.6'
Christoph M. Becker [Sat, 27 Jun 2015 12:35:20 +0000 (14:35 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix #64878: 304 responses return Content-Type header

9 years agoupdated NEWS
Christoph M. Becker [Sat, 27 Jun 2015 12:32:34 +0000 (14:32 +0200)]
updated NEWS

9 years agoFix #64878: 304 responses return Content-Type header
Christoph M. Becker [Mon, 18 May 2015 19:28:22 +0000 (21:28 +0200)]
Fix #64878: 304 responses return Content-Type header

According to RFC 7232 304 responses should not send a Content-Type header,
so the CLI server should comply.

9 years agoMerge some fixes from Senthil. Some test diffs still remain.
Christopher Jones [Sat, 27 Jun 2015 00:01:55 +0000 (10:01 +1000)]
Merge some fixes from Senthil. Some test diffs still remain.

9 years agoFix table name in initialization DROP TABLE statement
Christopher Jones [Sat, 27 Jun 2015 00:01:15 +0000 (10:01 +1000)]
Fix table name in initialization DROP TABLE statement

9 years agoFeature: Enhanced array_column() to also work with object elements.
Tjerk Meesters [Fri, 26 Jun 2015 23:35:44 +0000 (07:35 +0800)]
Feature: Enhanced array_column() to also work with object elements.

9 years agoMerge branch 'PHP-5.6'
Christoph M. Becker [Fri, 26 Jun 2015 23:10:41 +0000 (01:10 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  added regression test for bug #69679

9 years agoadded regression test for bug #69679
Christoph M. Becker [Fri, 26 Jun 2015 23:08:56 +0000 (01:08 +0200)]
added regression test for bug #69679

DOMDocument::loadHTML refuses to accept NULL bytes.

9 years agoMerge branch 'PHP-5.6'
Christoph M. Becker [Fri, 26 Jun 2015 21:27:25 +0000 (23:27 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  slightly revised bug69462.phpt
  Test for bug #69462

9 years agoslightly revised bug69462.phpt
Christoph M. Becker [Fri, 26 Jun 2015 21:20:22 +0000 (23:20 +0200)]
slightly revised bug69462.phpt

9 years agoTest for bug #69462
Tomasz Sawicki [Thu, 25 Jun 2015 16:32:01 +0000 (18:32 +0200)]
Test for bug #69462

Test scenario for already fixed bug #69462 with segmentation fault when
SoapVar XML node name was null.

9 years agoFix warning in zend_execute.c by explicit cast
Bob Weinand [Fri, 26 Jun 2015 18:39:56 +0000 (20:39 +0200)]
Fix warning in zend_execute.c by explicit cast

9 years agoUse ZEND_INIT_STATIC_METHOD_CALL for literals of form "classname::method"
Bob Weinand [Fri, 26 Jun 2015 17:55:13 +0000 (19:55 +0200)]
Use ZEND_INIT_STATIC_METHOD_CALL for literals of form "classname::method"

9 years agoFix closure leak test
Aaron Piotrowski [Fri, 26 Jun 2015 14:25:56 +0000 (09:25 -0500)]
Fix closure leak test

9 years agoFix test duplication, add more tests
Aaron Piotrowski [Fri, 26 Jun 2015 14:25:25 +0000 (09:25 -0500)]
Fix test duplication, add more tests

9 years agorestricted test to English locale (fails otherwise)
Christoph M. Becker [Fri, 26 Jun 2015 14:27:45 +0000 (16:27 +0200)]
restricted test to English locale (fails otherwise)

9 years agofixed broken test (syntax error in SKIPIF section)
Christoph M. Becker [Fri, 26 Jun 2015 13:57:28 +0000 (15:57 +0200)]
fixed broken test (syntax error in SKIPIF section)

9 years agoAdd test for bug #69939
Kalle Sommer Nielsen [Fri, 26 Jun 2015 13:35:16 +0000 (15:35 +0200)]
Add test for bug #69939

9 years agoFixed bug #69939 (Casting object to bool returns false)
Kalle Sommer Nielsen [Fri, 26 Jun 2015 13:30:03 +0000 (15:30 +0200)]
Fixed bug #69939 (Casting object to bool returns false)

9 years agoMerge branch 'master' of https://git.php.net/push/php-src
Kalle Sommer Nielsen [Fri, 26 Jun 2015 08:24:45 +0000 (10:24 +0200)]
Merge branch 'master' of https://git.php.net/push/php-src

9 years agoFix Closure leak in aborted INIT_DYNAMIC_FCALL
Bob Weinand [Fri, 26 Jun 2015 03:10:58 +0000 (05:10 +0200)]
Fix Closure leak in aborted INIT_DYNAMIC_FCALL

9 years agoAdded more indirect call tests, remove invalid test
Aaron Piotrowski [Fri, 26 Jun 2015 00:46:28 +0000 (19:46 -0500)]
Added more indirect call tests, remove invalid test

9 years agoFix 'Class::method' indirect call with empty method name
Aaron Piotrowski [Fri, 26 Jun 2015 00:30:36 +0000 (19:30 -0500)]
Fix 'Class::method' indirect call with empty method name

9 years agoMerge branch 'PHP-5.6'
Tjerk Meesters [Thu, 25 Jun 2015 22:03:29 +0000 (06:03 +0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fixed #69882: OpenSSL error "key values mismatch" after openssl_pkcs12_read with extra certs

9 years agoFixed #69882: OpenSSL error "key values mismatch" after openssl_pkcs12_read with...
Tjerk Meesters [Thu, 25 Jun 2015 21:31:54 +0000 (05:31 +0800)]
Fixed #69882: OpenSSL error "key values mismatch" after openssl_pkcs12_read with extra certs

Squashed commit of the following:

commit a64c1d9bc4c129fd946a478bdcb55101e42157b7
Author: Tomasz Sawicki <falundir@gmail.com>
Date:   Wed Jun 24 08:49:37 2015 +0200

    Fix #69882: OpenSSL error "key values mismatch" after openssl_pkcs12_read with extra certs

    The "key values mismatch" error is triggered in openssl_pkcs12_read by
    PKCS12_parse, because it uses X509_check_private_key to separate main
    certificate (which corresponds to private key) from extra certificates.
    Extra certificates usually comes first (p12 contents are reversed as
    stack) and X509_check_private_key triggers X509_R_KEY_VALUES_MISMATCH
    error.
    The fix pops "key values mismatch" error from OpenSSL error stack for
    each extra certificate if there are any.

9 years ago3rd arg to stream_set_timeout is optional
Rasmus Lerdorf [Thu, 25 Jun 2015 17:30:41 +0000 (10:30 -0700)]
3rd arg to  stream_set_timeout is optional
ignore_user_abort() should take a bool not a string

9 years agoMerge branch 'PHP-5.6'
Julien Pauli [Thu, 25 Jun 2015 17:13:49 +0000 (19:13 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix unknown size of void error

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Julien Pauli [Thu, 25 Jun 2015 17:13:20 +0000 (19:13 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix unknown size of void error

9 years agofix unknown size of void error
Anatol Belski [Wed, 17 Jun 2015 21:43:13 +0000 (23:43 +0200)]
fix unknown size of void error

9 years agoMerge branch 'master' of https://git.php.net/push/php-src
Kalle Sommer Nielsen [Thu, 25 Jun 2015 17:09:00 +0000 (19:09 +0200)]
Merge branch 'master' of https://git.php.net/push/php-src

9 years agoOptimize out usless conditions used by specializer
Dmitry Stogov [Thu, 25 Jun 2015 15:56:14 +0000 (18:56 +0300)]
Optimize out usless conditions used by specializer

9 years agoupdate the doc in regard to the latest discussions
Anatol Belski [Thu, 25 Jun 2015 14:39:02 +0000 (16:39 +0200)]
update the doc in regard to the latest discussions

9 years agoMerge branch 'PHP-5.6'
Anatol Belski [Thu, 25 Jun 2015 09:35:11 +0000 (11:35 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  backport missing rev bfdc9e280515c1639dfe1d81ce6fc225d2cf1bc9

9 years agobackport missing rev bfdc9e280515c1639dfe1d81ce6fc225d2cf1bc9
Anatol Belski [Thu, 25 Jun 2015 09:34:04 +0000 (11:34 +0200)]
backport missing rev bfdc9e280515c1639dfe1d81ce6fc225d2cf1bc9

9 years agoBetter check for __builtin_constant_p() availability
Dmitry Stogov [Thu, 25 Jun 2015 09:02:28 +0000 (12:02 +0300)]
Better check for __builtin_constant_p() availability

9 years agoMoved test to correct place
Dmitry Stogov [Thu, 25 Jun 2015 08:22:21 +0000 (11:22 +0300)]
Moved test to correct place

9 years agoFix paths issue when fetching .phpdbginit under Windows
Bob Weinand [Wed, 24 Jun 2015 22:35:52 +0000 (00:35 +0200)]
Fix paths issue when fetching .phpdbginit under Windows

9 years agoMerge remote-tracking branch 'origin/PHP-5.6'
Ferenc Kovacs [Wed, 24 Jun 2015 22:23:21 +0000 (00:23 +0200)]
Merge remote-tracking branch 'origin/PHP-5.6'

* origin/PHP-5.6:
  5.6.12 next

9 years ago5.6.12 next
Ferenc Kovacs [Wed, 24 Jun 2015 22:21:45 +0000 (00:21 +0200)]
5.6.12 next

9 years agoTypo (thanks kaplan@)
Hannes Magnusson [Wed, 24 Jun 2015 15:24:11 +0000 (08:24 -0700)]
Typo (thanks kaplan@)

9 years agoMerge branch 'master' of git.php.net:php-src
Xinchen Hui [Wed, 24 Jun 2015 13:44:31 +0000 (21:44 +0800)]
Merge branch 'master' of git.php.net:php-src