]> granicus.if.org Git - php/log
php
7 years agoSync and fix tests for ICU 60.1 compat
Anatol Belski [Thu, 2 Nov 2017 11:37:04 +0000 (12:37 +0100)]
Sync and fix tests for ICU 60.1 compat

7 years agoYet one /nologo
Anatol Belski [Thu, 2 Nov 2017 08:21:22 +0000 (09:21 +0100)]
Yet one /nologo

7 years agoFix year
Anatol Belski [Tue, 31 Oct 2017 09:25:15 +0000 (10:25 +0100)]
Fix year

7 years agoAdd /nologo
Anatol Belski [Tue, 31 Oct 2017 09:24:34 +0000 (10:24 +0100)]
Add /nologo

7 years agoAdd missing ICU version check
Anatol Belski [Mon, 30 Oct 2017 17:15:26 +0000 (18:15 +0100)]
Add missing ICU version check

7 years agoPrevent leaking x509 and csr resources if it is not requested
Jakub Zelenka [Mon, 30 Oct 2017 16:36:38 +0000 (16:36 +0000)]
Prevent leaking x509 and csr resources if it is not requested

All functions using php_openssl_x509_from_zval or php_openssl_csr_from_zval
with makeresource equal to 0 do not deref the resource which means there
is a leak till the end of the request. This can cause issues for long
running apps. It is a generic solution for bug #75363 which also covers
other functions.

7 years agoExtend and speed up pkey export tests
Jakub Zelenka [Mon, 30 Oct 2017 16:05:00 +0000 (16:05 +0000)]
Extend and speed up pkey export tests

7 years agoRewrite openssl_csr_get_subject test to improve coverage
Jakub Zelenka [Mon, 30 Oct 2017 14:29:05 +0000 (14:29 +0000)]
Rewrite openssl_csr_get_subject test to improve coverage

7 years agoAdd openssl_csr_get_public_key test
Jakub Zelenka [Mon, 30 Oct 2017 14:28:18 +0000 (14:28 +0000)]
Add openssl_csr_get_public_key test

7 years agoExtend openssl_pkcs7_* tests to cover resource cert
Jakub Zelenka [Mon, 30 Oct 2017 14:16:03 +0000 (14:16 +0000)]
Extend openssl_pkcs7_* tests to cover resource cert

7 years agoFix cleaning tmp output file in openssl_csr_export_to_file test
Jakub Zelenka [Mon, 30 Oct 2017 14:15:23 +0000 (14:15 +0000)]
Fix cleaning tmp output file in openssl_csr_export_to_file test

7 years agoopenssl: add basic openssl_csr_export_to_file tests
Jelle van der Waa [Fri, 11 Aug 2017 22:58:59 +0000 (00:58 +0200)]
openssl: add basic openssl_csr_export_to_file tests

Add a basic test for openssl_csr_export_to_file.

7 years agoExtend openssl_csr_sign test to cover cert resource
Jakub Zelenka [Mon, 30 Oct 2017 13:57:51 +0000 (13:57 +0000)]
Extend openssl_csr_sign test to cover cert resource

7 years agoSet different invalid path in openssl_pkcs12_export so it is more unlikely to exist
Jakub Zelenka [Mon, 30 Oct 2017 13:40:06 +0000 (13:40 +0000)]
Set different invalid path in openssl_pkcs12_export so it is more unlikely to exist

7 years agoExtend openssl_x509_parse to cover cert resource
Jakub Zelenka [Mon, 30 Oct 2017 13:36:32 +0000 (13:36 +0000)]
Extend openssl_x509_parse to cover cert resource

7 years agoRename and test resource cert in openssl_x509_checkpurpose test
Jakub Zelenka [Mon, 30 Oct 2017 13:17:32 +0000 (13:17 +0000)]
Rename and test resource cert in openssl_x509_checkpurpose test

7 years agoExtend openssl_x509_check_private_key to test resource cert
Jakub Zelenka [Mon, 30 Oct 2017 13:01:27 +0000 (13:01 +0000)]
Extend openssl_x509_check_private_key to test resource cert

7 years agoExtend openssl_x509_fingerprint test to cover resource cert with sha1
Jakub Zelenka [Mon, 30 Oct 2017 12:55:29 +0000 (12:55 +0000)]
Extend openssl_x509_fingerprint test to cover resource cert with sha1

7 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Joe Watkins [Mon, 30 Oct 2017 14:16:16 +0000 (14:16 +0000)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0

* 'PHP-7.0' of git.php.net:/php-src:
  Yet one attempt to mitigate the unzip error on AppVeyor
  Ensure SDK is checked out before asking for version
  Fix fetching the SDK version
  Fix SDK version comparison and add more verbosity
  Don't use the cache dependency, SDK version is handled in script
  Remove status check on the SDK repo and add version check
  Catch with the latest AppVeyor unzip errors

7 years agoFix bug #75464 Wrong reflection on SoapClient::__setSoapHeaders
Fabien Villepinte [Mon, 30 Oct 2017 12:25:40 +0000 (13:25 +0100)]
Fix bug #75464 Wrong reflection on SoapClient::__setSoapHeaders

7 years agoYet one attempt to mitigate the unzip error on AppVeyor
Anatol Belski [Mon, 30 Oct 2017 11:16:53 +0000 (12:16 +0100)]
Yet one attempt to mitigate the unzip error on AppVeyor

7 years agoEnsure SDK is checked out before asking for version
Anatol Belski [Mon, 30 Oct 2017 11:07:27 +0000 (12:07 +0100)]
Ensure SDK is checked out before asking for version

7 years agoFix fetching the SDK version
Anatol Belski [Mon, 30 Oct 2017 10:28:32 +0000 (11:28 +0100)]
Fix fetching the SDK version

7 years agoFix SDK version comparison and add more verbosity
Anatol Belski [Mon, 30 Oct 2017 09:53:12 +0000 (10:53 +0100)]
Fix SDK version comparison and add more verbosity

7 years agoDon't use the cache dependency, SDK version is handled in script
Anatol Belski [Mon, 30 Oct 2017 09:34:11 +0000 (10:34 +0100)]
Don't use the cache dependency, SDK version is handled in script

7 years agoRemove status check on the SDK repo and add version check
Anatol Belski [Mon, 30 Oct 2017 09:14:05 +0000 (10:14 +0100)]
Remove status check on the SDK repo and add version check

If Appveyor fails to unzip, .git would be in an arbitrary state anyway.
Thus this check doesn't help. For the version check - rely on the branch
naming scheme in the SDK.

7 years agoCatch with the latest AppVeyor unzip errors
Anatol Belski [Mon, 30 Oct 2017 07:42:59 +0000 (08:42 +0100)]
Catch with the latest AppVeyor unzip errors

7 years agoFix bug #75453 Incorrect reflection on ibase_connect and ibase_pconnect
Fabien Villepinte [Sun, 29 Oct 2017 08:14:56 +0000 (09:14 +0100)]
Fix bug #75453 Incorrect reflection on ibase_connect and ibase_pconnect

7 years agoRe-enable AppVeyor cache
Anatol Belski [Sun, 29 Oct 2017 09:08:31 +0000 (10:08 +0100)]
Re-enable AppVeyor cache

7 years agomake sure run-tests reports exit status upon prerequisite error
Joe Watkins [Sun, 29 Oct 2017 04:37:21 +0000 (04:37 +0000)]
make sure run-tests reports exit status upon prerequisite error

7 years agoFix bug #75434 Wrong reflection for mysqli_fetch_all function
Fabien Villepinte [Sat, 28 Oct 2017 08:40:00 +0000 (10:40 +0200)]
Fix bug #75434 Wrong reflection for mysqli_fetch_all function

7 years agoFix bug #75307 Wrong reflection for openssl_open function
Fabien Villepinte [Fri, 27 Oct 2017 12:14:04 +0000 (14:14 +0200)]
Fix bug #75307 Wrong reflection for openssl_open function

7 years agoSkip test on PostgreSQL 10
Anatol Belski [Fri, 27 Oct 2017 14:19:42 +0000 (16:19 +0200)]
Skip test on PostgreSQL 10

The 42P18 error is not produced by the server anymore.

7 years agoFix test compat for PostgreSQL 10
Anatol Belski [Fri, 27 Oct 2017 12:58:43 +0000 (14:58 +0200)]
Fix test compat for PostgreSQL 10

7 years agoApply upstream patch for CVE-2017-14107
Anatol Belski [Fri, 27 Oct 2017 11:20:15 +0000 (13:20 +0200)]
Apply upstream patch for CVE-2017-14107

7 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Fri, 27 Oct 2017 11:18:41 +0000 (13:18 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Backport and apply upstream patch for CVE-2017-14107

7 years agoBackport and apply upstream patch for CVE-2017-14107
Anatol Belski [Fri, 27 Oct 2017 11:16:56 +0000 (13:16 +0200)]
Backport and apply upstream patch for CVE-2017-14107

7 years agoBinary SDK 2.0.12 stable
Anatol Belski [Thu, 26 Oct 2017 19:25:08 +0000 (21:25 +0200)]
Binary SDK 2.0.12 stable

7 years agoFixed indirect modification of magic ArrayAccess method arguments
Dmitry Stogov [Thu, 26 Oct 2017 13:03:42 +0000 (16:03 +0300)]
Fixed indirect modification of magic ArrayAccess method arguments

7 years agoBackport tests
Dmitry Stogov [Thu, 26 Oct 2017 11:12:08 +0000 (14:12 +0300)]
Backport tests

7 years agoFixed indirect modification of magic method arguments.
Dmitry Stogov [Thu, 26 Oct 2017 10:05:23 +0000 (13:05 +0300)]
Fixed indirect modification of magic method arguments.

7 years agoFixed test
Xinchen Hui [Thu, 26 Oct 2017 02:23:43 +0000 (10:23 +0800)]
Fixed test

7 years agoFixed bug #75420 (Crash when modifing property name in __isset for BP_VAR_IS)
Xinchen Hui [Thu, 26 Oct 2017 02:07:08 +0000 (10:07 +0800)]
Fixed bug #75420 (Crash when modifing property name in __isset for BP_VAR_IS)

7 years agoFix typo in comments
Fabien Villepinte [Wed, 25 Oct 2017 08:42:13 +0000 (10:42 +0200)]
Fix typo in comments

7 years agoFix the SKIPIF part in /ext/gd/tests/bug75437.phpt
Fabien Villepinte [Wed, 25 Oct 2017 11:53:52 +0000 (13:53 +0200)]
Fix the SKIPIF part in /ext/gd/tests/bug75437.phpt

7 years agoFix bug #75437 Wrong reflection on imagewebp
Fabien Villepinte [Wed, 25 Oct 2017 10:06:54 +0000 (12:06 +0200)]
Fix bug #75437 Wrong reflection on imagewebp

7 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Wed, 25 Oct 2017 01:39:34 +0000 (03:39 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

7 years ago5.6.33 is next
Ferenc Kovacs [Wed, 25 Oct 2017 01:36:30 +0000 (03:36 +0200)]
5.6.33 is next

7 years agouse trusty explicitly
Ferenc Kovacs [Wed, 25 Oct 2017 01:14:51 +0000 (03:14 +0200)]
use trusty explicitly

7 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Wed, 25 Oct 2017 01:13:40 +0000 (03:13 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

7 years agoThese tests all assume that IPV6 is available.
Rasmus Lerdorf [Sat, 10 Jan 2015 01:24:48 +0000 (17:24 -0800)]
These tests all assume that IPV6 is available.

7 years agofix the travis build for PHP-5.6 using precise instead of trusty
Ferenc Kovacs [Tue, 24 Oct 2017 23:51:48 +0000 (01:51 +0200)]
fix the travis build for PHP-5.6 using precise instead of trusty

7 years agofix the travis build for PHP-5.6 using precise instead of trusty
Ferenc Kovacs [Tue, 24 Oct 2017 23:47:21 +0000 (01:47 +0200)]
fix the travis build for PHP-5.6 using precise instead of trusty

7 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 24 Oct 2017 16:36:56 +0000 (18:36 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Parametrize the expected value to avoid platform false positives

7 years agoParametrize the expected value to avoid platform false positives
Anatol Belski [Tue, 24 Oct 2017 16:33:21 +0000 (18:33 +0200)]
Parametrize the expected value to avoid platform false positives

7 years agoDecref default_link when clearing
Sara Golemon [Tue, 24 Oct 2017 15:37:24 +0000 (11:37 -0400)]
Decref default_link when clearing

7 years agoFixed bug #65148 (imagerotate may alter image dimensions)
Christoph M. Becker [Tue, 24 Oct 2017 12:42:03 +0000 (14:42 +0200)]
Fixed bug #65148 (imagerotate may alter image dimensions)

We apply the respective patches from external libgd, work around the
still missing `gdImageClone()`, and fix the special cased rotation
routines according to Pierre's patch
(https://gist.github.com/pierrejoye/59d72385ed1888cf8894a7ed437235ae).

We also cater to bug73272.phpt whose result obviously changes a bit.

7 years agoUpdate timezonemap.h, which needs to match the bundled TZ db
Derick Rethans [Tue, 24 Oct 2017 13:55:13 +0000 (14:55 +0100)]
Update timezonemap.h, which needs to match the bundled TZ db

7 years ago[ci skip] update NEWS
Anatol Belski [Tue, 24 Oct 2017 12:18:59 +0000 (14:18 +0200)]
[ci skip] update NEWS

7 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 24 Oct 2017 12:17:21 +0000 (14:17 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  [ci skip] update NEWS

7 years ago[ci skip] update NEWS
Anatol Belski [Tue, 24 Oct 2017 12:16:54 +0000 (14:16 +0200)]
[ci skip] update NEWS

7 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 24 Oct 2017 12:04:08 +0000 (14:04 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fixed bug #72535 arcfour encryption stream filter crashes php

7 years agoFixed bug #72535 arcfour encryption stream filter crashes php
Anatol Belski [Tue, 24 Oct 2017 11:59:18 +0000 (13:59 +0200)]
Fixed bug #72535 arcfour encryption stream filter crashes php

7 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 24 Oct 2017 11:38:48 +0000 (13:38 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fixed bug #75055 Out-Of-Bounds Read in timelib_meridian()
  Apply upstream patch for CVE-2016-1283

7 years agoFixed bug #75055 Out-Of-Bounds Read in timelib_meridian()
Anatol Belski [Tue, 24 Oct 2017 09:28:17 +0000 (11:28 +0200)]
Fixed bug #75055 Out-Of-Bounds Read in timelib_meridian()

7 years agoApply upstream patch for CVE-2016-1283
Anatol Belski [Thu, 28 Sep 2017 13:40:49 +0000 (15:40 +0200)]
Apply upstream patch for CVE-2016-1283

Fix bug #75207, see also
https://bugzilla.redhat.com/show_bug.cgi?id=1295385
https://vcs.pcre.org/pcre?view=revision&revision=1636

(cherry picked from commit d11fceab151cd0410645f81eb7444af4388470c3)

7 years agoNEWS entry for pg_close() fix
Sara Golemon [Mon, 23 Oct 2017 18:55:32 +0000 (14:55 -0400)]
NEWS entry for pg_close() fix

7 years agoBugfix#75419 Fix clearing of default link during pg_close()
Sara Golemon [Mon, 23 Oct 2017 18:41:44 +0000 (14:41 -0400)]
Bugfix#75419 Fix clearing of default link during pg_close()

7 years agoUpdated to version 2017.3 (2017c)
Derick Rethans [Mon, 23 Oct 2017 16:31:20 +0000 (17:31 +0100)]
Updated to version 2017.3 (2017c)

7 years agoFix memory leak
Anatol Belski [Mon, 23 Oct 2017 13:26:08 +0000 (15:26 +0200)]
Fix memory leak

7 years agoRenaming cache folder is not a solution, too. Disable cache for now.
Anatol Belski [Mon, 23 Oct 2017 05:13:00 +0000 (07:13 +0200)]
Renaming cache folder is not a solution, too. Disable cache for now.

7 years agoRevert "Rename build cache folder and separate sdk"
Anatol Belski [Mon, 23 Oct 2017 05:12:33 +0000 (07:12 +0200)]
Revert "Rename build cache folder and separate sdk"

This reverts commit 58dd892156bc0a45a5b78316e8023fd2dc7cca4b.

7 years agoRename build cache folder and separate sdk
Anatol Belski [Mon, 23 Oct 2017 05:08:45 +0000 (07:08 +0200)]
Rename build cache folder and separate sdk

7 years agoRevert "Invalidate the whole cache when .appveyor.yml was changed"
Anatol Belski [Mon, 23 Oct 2017 05:05:48 +0000 (07:05 +0200)]
Revert "Invalidate the whole cache when .appveyor.yml was changed"

This reverts commit 25d40602cb618cfe989b1d048ef38618a243f6ff.

7 years agoInvalidate the whole cache when .appveyor.yml was changed
Anatol Belski [Mon, 23 Oct 2017 05:00:36 +0000 (07:00 +0200)]
Invalidate the whole cache when .appveyor.yml was changed

7 years agoFix clean up for openssl_pkcs12_export_to_file_basic
Jakub Zelenka [Sun, 22 Oct 2017 17:54:15 +0000 (18:54 +0100)]
Fix clean up for openssl_pkcs12_export_to_file_basic

7 years agoopenssl: Fix openssl_pkcs12_export extracerts test
Jelle van der Waa [Fri, 11 Aug 2017 23:46:34 +0000 (01:46 +0200)]
openssl: Fix openssl_pkcs12_export extracerts test

Fix the openssl_pkcs12_export testcase for extracerts, the 'extracerts'
option needs to be the key of the certificate value otherwise
openssl_pkcs12_export will ignore it.

7 years agoWith ICU 58+, set the default restriction level to high
Anatol Belski [Sat, 21 Oct 2017 15:21:41 +0000 (17:21 +0200)]
With ICU 58+, set the default restriction level to high

Further experiments show, that CJK scripts should be ok. If there are
any issues, the moderate level can still be set later.

7 years agoReenable AppVeyor cache
Anatol Belski [Sat, 21 Oct 2017 09:59:22 +0000 (11:59 +0200)]
Reenable AppVeyor cache

7 years agoDisable AppVeyor cache to unlock build
Anatol Belski [Sat, 21 Oct 2017 08:49:20 +0000 (10:49 +0200)]
Disable AppVeyor cache to unlock build

7 years agoRework these new tests to match with diffs in ICU 58, 59 and upcoming 60
Anatol Belski [Sat, 21 Oct 2017 08:29:04 +0000 (10:29 +0200)]
Rework these new tests to match with diffs in ICU 58, 59 and upcoming 60

7 years ago[ci skip] Update NEWS
Anatol Belski [Fri, 20 Oct 2017 18:46:42 +0000 (20:46 +0200)]
[ci skip] Update NEWS

7 years agoFixed bug #73655 Spoofchecker::isSuspicious behavior change due to upstream changes
Anatol Belski [Fri, 20 Oct 2017 17:14:22 +0000 (19:14 +0200)]
Fixed bug #73655 Spoofchecker::isSuspicious behavior change due to upstream changes

There are significant changes in the spoof checking reflecting
http://www.unicode.org/reports/tr39/tr39-15.html and relying on the
restriction levels. ICU 58+ removes WSC and MSC handling and otherwise
undergoes big changes in both code and data areas. Keep up with the
basic points for now, as we need to move forward and provide an
acceptable experience to PHP users linking to a newer ICU. The most
distros ATM don't provide ICU > 57.1, though. We'll need for sure to
keep up with the BC breach in ICU 58+ in possible further aspects.

7 years agoAdd test for newer ICU version
Anatol Belski [Fri, 20 Oct 2017 17:02:42 +0000 (19:02 +0200)]
Add test for newer ICU version

7 years agoFurther test fixes for ICU >= 58
Anatol Belski [Fri, 20 Oct 2017 16:39:46 +0000 (18:39 +0200)]
Further test fixes for ICU >= 58

7 years agoFix version checks in tests
Anatol Belski [Fri, 20 Oct 2017 13:23:09 +0000 (15:23 +0200)]
Fix version checks in tests

7 years agoSync some tests for compat with ICU 58.1+
Anatol Belski [Fri, 20 Oct 2017 11:55:32 +0000 (13:55 +0200)]
Sync some tests for compat with ICU 58.1+

7 years agoAdd skip for incompatible ICU version
Anatol Belski [Fri, 20 Oct 2017 09:27:54 +0000 (11:27 +0200)]
Add skip for incompatible ICU version

7 years agoFixed #75317 - UConverter::setDestinationEncoding changes source instead of destinati...
Nester [Mon, 9 Oct 2017 14:26:44 +0000 (14:26 +0000)]
Fixed #75317 - UConverter::setDestinationEncoding changes source instead of destinatination

7 years agoUpdate .editorconfig with some more configs
Peter Kokot [Wed, 11 Oct 2017 21:20:57 +0000 (23:20 +0200)]
Update .editorconfig with some more configs

Added support for .awk, .w32, .bat, .mk, .frag, .m4, .sh, .php, .phpt,
and Markdown files based on the current most used coding style in the
php-src repository.

7 years agoEscape newline on curl config.m4
Ryan Volz [Thu, 19 Oct 2017 00:49:17 +0000 (20:49 -0400)]
Escape newline on curl config.m4

7 years agoMove to php-sdk-2.0.0beta3 for Appveyor
Anatol Belski [Wed, 18 Oct 2017 15:45:33 +0000 (17:45 +0200)]
Move to php-sdk-2.0.0beta3 for Appveyor

Supposed to fix sporadic tool crashes on the test image

7 years agoBackport 7ff13badda58b966ff8fbcc61add48bb5b14117b into 7.0+
Anatol Belski [Wed, 18 Oct 2017 14:02:56 +0000 (16:02 +0200)]
Backport 7ff13badda58b966ff8fbcc61add48bb5b14117b into 7.0+

7 years agoOne more folder to delete in AppVeyor image
Anatol Belski [Tue, 17 Oct 2017 13:32:47 +0000 (15:32 +0200)]
One more folder to delete in AppVeyor image

7 years agoFixed valgrind issue
Tianfang Yang [Mon, 16 Oct 2017 23:20:24 +0000 (19:20 -0400)]
Fixed valgrind issue

7 years agoFixed valgrind issue
Tianfang Yang [Mon, 16 Oct 2017 23:16:30 +0000 (19:16 -0400)]
Fixed valgrind issue

7 years agoMove to next binary SDK version for AppVeyor
Anatol Belski [Mon, 16 Oct 2017 16:05:56 +0000 (18:05 +0200)]
Move to next binary SDK version for AppVeyor

7 years agoPrevent crash on ext/pdo_mysql/tests/bug_39858.phpt when built with libmysql
Dmitry Stogov [Mon, 16 Oct 2017 16:00:12 +0000 (19:00 +0300)]
Prevent crash on ext/pdo_mysql/tests/bug_39858.phpt when built with libmysql

7 years agoProperly fix #75363 and address some other leaks with cert
Jakub Zelenka [Sun, 15 Oct 2017 19:25:58 +0000 (20:25 +0100)]
Properly fix #75363 and address some other leaks with cert

7 years agoFixed bug #53070 (enchant_broker_get_path crashes if no path is set)
Jelle van der Waa [Mon, 9 Oct 2017 18:35:53 +0000 (20:35 +0200)]
Fixed bug #53070 (enchant_broker_get_path crashes if no path is set)

enchant_broker_get_dict_path segfaults when the dict path is not setup,
instead of segfaulting return false instead.