]> granicus.if.org Git - php/log
php
8 years agoMerge branch 'PHP-5.6'
Pierre Joye [Wed, 8 Jun 2016 04:13:27 +0000 (11:13 +0700)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  prevent invalid color index (palette only), may lead to crash
  Add CVE to #66387

Conflicts:
NEWS

8 years agoprevent invalid color index (palette only), may lead to crash
Pierre Joye [Wed, 8 Jun 2016 04:06:48 +0000 (11:06 +0700)]
prevent invalid color index (palette only), may lead to crash

8 years agoBetter fix for bug #70228 (memleak if return in finally block)
Dmitry Stogov [Tue, 7 Jun 2016 23:20:45 +0000 (02:20 +0300)]
Better fix for bug #70228 (memleak if return in finally block)

8 years agoFixed bug #70228 (Memleak if return in finally block)
Dmitry Stogov [Tue, 7 Jun 2016 21:23:33 +0000 (00:23 +0300)]
Fixed bug #70228 (Memleak if return in finally block)

8 years agoFixed bug #71266 (Missing separation of properties HT in foreach etc).
Dmitry Stogov [Tue, 7 Jun 2016 20:18:52 +0000 (23:18 +0300)]
Fixed bug #71266 (Missing separation of properties HT in foreach etc).

8 years agoAdd CVE to #66387
Lior Kaplan [Tue, 7 Jun 2016 18:45:24 +0000 (21:45 +0300)]
Add CVE to #66387

8 years agoUse LCA for object(ce) type joins
Nikita Popov [Tue, 7 Jun 2016 18:36:54 +0000 (20:36 +0200)]
Use LCA for object(ce) type joins

For B, C extending A the join of object(B) and object(C) should
be object(instanceof A). For simplicity we only handle the class
hierarchy, as computing the least common unique ancestor for
interfaces would be more involved.

Also ignore phi sources that don't have an object type: The join
of null and object(A) is now null|object(A) rather than
null|object.

8 years agoCleanup
Nikita Popov [Mon, 6 Jun 2016 19:55:20 +0000 (21:55 +0200)]
Cleanup

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Tue, 7 Jun 2016 16:45:46 +0000 (18:45 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix NEWS
  add missing NEWS entry
  update NEWS

8 years agofix NEWS
Anatol Belski [Tue, 7 Jun 2016 16:44:40 +0000 (18:44 +0200)]
fix NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 7 Jun 2016 16:42:55 +0000 (18:42 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  add missing NEWS entry

8 years agoadd missing NEWS entry
Anatol Belski [Tue, 7 Jun 2016 16:41:17 +0000 (18:41 +0200)]
add missing NEWS entry

8 years agobump news file
Joe Watkins [Tue, 7 Jun 2016 13:10:27 +0000 (14:10 +0100)]
bump news file

8 years agoRevert "bump news file"
Joe Watkins [Tue, 7 Jun 2016 13:09:09 +0000 (14:09 +0100)]
Revert "bump news file"

This reverts commit 61b848833d572e514971e17c23d426a49384758a.

8 years agoMerge branch 'master' of https://github.com/php/php-src
Joe Watkins [Tue, 7 Jun 2016 12:12:34 +0000 (13:12 +0100)]
Merge branch 'master' of https://github.com/php/php-src

8 years agobump news file
Joe Watkins [Tue, 7 Jun 2016 12:12:00 +0000 (13:12 +0100)]
bump news file

8 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Tue, 7 Jun 2016 11:08:41 +0000 (14:08 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  #72337 invalid dimensions can lead to segv
  7.0.9 next

8 years agoAdded test
Dmitry Stogov [Tue, 7 Jun 2016 11:08:12 +0000 (14:08 +0300)]
Added test

8 years agoFixed bug #72202 (curl_close doesn't close cURL handle)
Dmitry Stogov [Tue, 7 Jun 2016 11:03:14 +0000 (14:03 +0300)]
Fixed bug #72202 (curl_close doesn't close cURL handle)
Now curl_close() forces connection close, independently of other links to the same resource.

This reverts commit 3ba4f8263d7940312668f4c364c988a67be2461a.

8 years agoupdate NEWS
Pierre Joye [Tue, 7 Jun 2016 10:40:55 +0000 (17:40 +0700)]
update NEWS

8 years agoMerge branch 'master' of git.php.net:php-src
Pierre Joye [Tue, 7 Jun 2016 10:39:22 +0000 (17:39 +0700)]
Merge branch 'master' of git.php.net:php-src

8 years agoMerge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0
Pierre Joye [Tue, 7 Jun 2016 10:38:41 +0000 (17:38 +0700)]
Merge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0

8 years agoMerge branch 'PHP-5.6'
Pierre Joye [Tue, 7 Jun 2016 10:19:17 +0000 (17:19 +0700)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  #72337 invalid dimensions can lead to segv

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Pierre Joye [Tue, 7 Jun 2016 10:18:14 +0000 (17:18 +0700)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  #72337 invalid dimensions can lead to segv

8 years ago#72337 invalid dimensions can lead to segv
Pierre Joye [Tue, 7 Jun 2016 10:16:40 +0000 (17:16 +0700)]
#72337 invalid dimensions can lead to segv

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Tue, 7 Jun 2016 08:04:58 +0000 (10:04 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  7.0.9 next

8 years ago7.0.9 next
Anatol Belski [Tue, 7 Jun 2016 08:04:25 +0000 (10:04 +0200)]
7.0.9 next

8 years agocleanup
Dmitry Stogov [Mon, 6 Jun 2016 22:14:53 +0000 (01:14 +0300)]
cleanup

8 years agoFixed mixed declarations and code
Dmitry Stogov [Mon, 6 Jun 2016 22:01:48 +0000 (01:01 +0300)]
Fixed mixed declarations and code

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Mon, 6 Jun 2016 19:08:18 +0000 (21:08 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Add test for bug #53735

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Mon, 6 Jun 2016 19:07:45 +0000 (21:07 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Add test for bug #53735

8 years agoAdd test for bug #53735
Anatol Belski [Mon, 6 Jun 2016 19:06:06 +0000 (21:06 +0200)]
Add test for bug #53735

8 years agomicro-optimization
Dmitry Stogov [Mon, 6 Jun 2016 17:45:10 +0000 (20:45 +0300)]
micro-optimization

8 years agosimplification
Dmitry Stogov [Mon, 6 Jun 2016 12:50:06 +0000 (15:50 +0300)]
simplification

8 years agoImprove type narrowing (check only SSA definitions).
Dmitry Stogov [Mon, 6 Jun 2016 11:57:02 +0000 (14:57 +0300)]
Improve type narrowing (check only SSA definitions).

8 years agoFix correctness issues with type narrowing
Nikita Popov [Sun, 5 Jun 2016 13:36:14 +0000 (15:36 +0200)]
Fix correctness issues with type narrowing

Fixes bug #72335.

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Mon, 6 Jun 2016 11:33:39 +0000 (13:33 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix ibase handle initialization, mostly compiler warnings

8 years agofix ibase handle initialization, mostly compiler warnings
Anatol Belski [Mon, 6 Jun 2016 11:30:17 +0000 (13:30 +0200)]
fix ibase handle initialization, mostly compiler warnings

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Mon, 6 Jun 2016 06:58:40 +0000 (08:58 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix typo

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Mon, 6 Jun 2016 06:58:08 +0000 (08:58 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  fix typo

8 years agofix typo
Anatol Belski [Mon, 6 Jun 2016 06:56:40 +0000 (08:56 +0200)]
fix typo

8 years agohard_timeout ignored on TS
Anatol Belski [Sun, 5 Jun 2016 22:22:04 +0000 (00:22 +0200)]
hard_timeout ignored on TS

8 years agofix hard_timeout support in shutdown functions
Anatol Belski [Sun, 5 Jun 2016 09:38:12 +0000 (11:38 +0200)]
fix hard_timeout support in shutdown functions

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Mon, 6 Jun 2016 06:23:22 +0000 (08:23 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix broken skipif and add xfail for now

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Mon, 6 Jun 2016 06:21:39 +0000 (08:21 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  fix broken skipif and add xfail for now

8 years agofix broken skipif and add xfail for now
Anatol Belski [Mon, 6 Jun 2016 06:20:01 +0000 (08:20 +0200)]
fix broken skipif and add xfail for now

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Mon, 6 Jun 2016 05:34:34 +0000 (07:34 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  missing return

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Mon, 6 Jun 2016 05:33:36 +0000 (07:33 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  missing return

8 years agomissing return
Anatol Belski [Mon, 6 Jun 2016 05:27:45 +0000 (07:27 +0200)]
missing return

8 years agoFix VERIFY_RETURN_TYPE elision
Nikita Popov [Sun, 5 Jun 2016 21:43:20 +0000 (23:43 +0200)]
Fix VERIFY_RETURN_TYPE elision

This both fixes incorrect elision and allows elision for cases
where we only have a subset (e.g. true of bool).

8 years agoFix bug71843.phpt
Nikita Popov [Sun, 5 Jun 2016 21:03:52 +0000 (23:03 +0200)]
Fix bug71843.phpt

Is Travis not running opcache tests?

8 years agoCheck SKIP_SLOW_TESTS in issue0140.phpt
Nikita Popov [Sun, 5 Jun 2016 21:02:01 +0000 (23:02 +0200)]
Check SKIP_SLOW_TESTS in issue0140.phpt

This test contains two sleeps...

8 years agoFix SSA NOP removal
Nikita Popov [Sun, 5 Jun 2016 21:00:32 +0000 (23:00 +0200)]
Fix SSA NOP removal

NOPs need to be tracked in the shiftlist as well, as there may be
jumps to NOPs.

8 years agoFix handling of parse_str() with unpack in optimizer
Nikita Popov [Sun, 5 Jun 2016 20:16:15 +0000 (22:16 +0200)]
Fix handling of parse_str() with unpack in optimizer

8 years agoDon't optimize special dynamic calls to non-dynamic
Nikita Popov [Sun, 5 Jun 2016 19:58:58 +0000 (21:58 +0200)]
Don't optimize special dynamic calls to non-dynamic

As it drops the warning. This is more problematic with constant
propagation, as tests would fail.

Extract a zend_optimizer_classify_function() function, as its now
needed by zend_cfg and update_opN.

8 years agoMerge branch 'PHP-7.0'
Jakub Zelenka [Sun, 5 Jun 2016 16:31:05 +0000 (17:31 +0100)]
Merge branch 'PHP-7.0'

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Jakub Zelenka [Sun, 5 Jun 2016 16:30:03 +0000 (17:30 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoAdd new test for openssl_pkey_new
Jakub Zelenka [Sun, 5 Jun 2016 16:27:47 +0000 (17:27 +0100)]
Add new test for openssl_pkey_new

8 years agoAdd test for openssl_error_string
Jakub Zelenka [Sun, 5 Jun 2016 16:23:05 +0000 (17:23 +0100)]
Add test for openssl_error_string

This test is important for making sure that the error strings
from OpenSSL works as expected and we can safely add a fix
for storing the strings that is prepared.

8 years agoRemove openssl_x509_parse for OpenSSL 0.9.x
Jakub Zelenka [Sun, 5 Jun 2016 15:28:50 +0000 (16:28 +0100)]
Remove openssl_x509_parse for OpenSSL 0.9.x

The test is unstable and it actually fails with latest 0.9.8

8 years agoFixed bug #53432
Nikita Popov [Sun, 14 Feb 2016 15:49:36 +0000 (16:49 +0100)]
Fixed bug #53432

This change was discussed a while ago in the "negative string
offsets" thread.

8 years agoFix typo
xiabeifeng [Fri, 11 Mar 2016 07:21:46 +0000 (15:21 +0800)]
Fix typo

8 years agoForbid ?void
Nikita Popov [Sat, 4 Jun 2016 12:53:50 +0000 (14:53 +0200)]
Forbid ?void

8 years agoMore explicit errors for return; vs return null;
Nikita Popov [Sat, 4 Jun 2016 11:25:52 +0000 (13:25 +0200)]
More explicit errors for return; vs return null;

Both for "return null" in a void function and "return" in
a nullable return function.

8 years agoForbid "return;" for typed returns already at compile-time
Nikita Popov [Sat, 4 Jun 2016 11:13:25 +0000 (13:13 +0200)]
Forbid "return;" for typed returns already at compile-time

These would otherwise generate a "none returned" error at runtime.
Catch them early.

8 years agoSmall generator-related cleanups
Nikita Popov [Sat, 4 Jun 2016 10:59:35 +0000 (12:59 +0200)]
Small generator-related cleanups

8 years agoupdate NEWS
Anatol Belski [Thu, 2 Jun 2016 22:19:23 +0000 (00:19 +0200)]
update NEWS

8 years agoEnable per-module logging in Apache 2.4+
Martin Vobruba [Tue, 24 May 2016 16:13:00 +0000 (18:13 +0200)]
Enable per-module logging in Apache 2.4+

8 years agoupdate NEWS
Anatol Belski [Thu, 2 Jun 2016 21:08:26 +0000 (23:08 +0200)]
update NEWS

8 years agoadded test for bug #47517
Anatol Belski [Thu, 2 Jun 2016 21:06:20 +0000 (23:06 +0200)]
added test for bug #47517

8 years agoFix bug #47517 php-cgi.exe missing UAC manifest
maxdax15801 [Fri, 29 Apr 2016 18:44:28 +0000 (20:44 +0200)]
Fix bug #47517 php-cgi.exe missing UAC manifest

Add a <requestedExecutionLevel> to the manifest so Windows doesn't
use file and registry virtualization for backwards compatibility
with pre-Vista versions.

8 years agoupdate NEWS
Anatol Belski [Thu, 2 Jun 2016 20:43:43 +0000 (22:43 +0200)]
update NEWS

8 years agoFixed bug #69398 IntlDateFormatter formatObject returns wrong value when time style...
Mic [Thu, 2 Jun 2016 20:37:44 +0000 (22:37 +0200)]
Fixed bug #69398 IntlDateFormatter formatObject returns wrong value when time style is NONE

8 years agoFixed bug #69374 IntlDateFormatter formatObject returns wrong utf8 value
Mic [Thu, 2 Jun 2016 20:27:48 +0000 (22:27 +0200)]
Fixed bug #69374 IntlDateFormatter formatObject returns wrong utf8 value

Relying on invariant strings is a mistake. Not only UTF-8, but also
many charsets are not single byte. Actual date formats can be mixed
with arbitrary strings, and this can bring erroneous results in the
out. Thus, instead it is more convenient to say, that a format string
can consist either on UTF-8 or on pure ASCII as its subset. This is
what is currently being done in other classes like Formatter, etc.
as well.

8 years agofix dangling pointer, phpdbg reveals it
Anatol Belski [Thu, 2 Jun 2016 17:42:50 +0000 (19:42 +0200)]
fix dangling pointer, phpdbg reveals it

8 years agofix known interned strings init with TS per request
Anatol Belski [Thu, 2 Jun 2016 15:55:48 +0000 (17:55 +0200)]
fix known interned strings init with TS per request

8 years agoupdate UPGRADING
Anatol Belski [Thu, 2 Jun 2016 12:30:27 +0000 (14:30 +0200)]
update UPGRADING

8 years agoupdate NEWS
Anatol Belski [Thu, 2 Jun 2016 12:23:30 +0000 (14:23 +0200)]
update NEWS

8 years agofix typo
Anatol Belski [Thu, 2 Jun 2016 12:22:14 +0000 (14:22 +0200)]
fix typo

8 years agofix typo
Anatol Belski [Thu, 2 Jun 2016 11:28:09 +0000 (13:28 +0200)]
fix typo

8 years agoAdded backwards compability with php_log_err by using macro
Jani Ollikainen [Wed, 6 Apr 2016 11:14:41 +0000 (14:14 +0300)]
Added backwards compability with php_log_err by using macro

8 years agoLogging to syslog with dynamic error levels (related to #49467)
Jani Ollikainen [Tue, 29 Dec 2015 10:18:41 +0000 (12:18 +0200)]
Logging to syslog with dynamic error levels (related to #49467)

8 years agoimprove date header code
Anatol Belski [Thu, 2 Jun 2016 11:13:54 +0000 (13:13 +0200)]
improve date header code

8 years agoupdate NEWS
Anatol Belski [Thu, 2 Jun 2016 10:37:51 +0000 (12:37 +0200)]
update NEWS

8 years agoAdded mandatory Date: header to built-in webserver
SeeSchloss [Thu, 21 Jan 2016 17:20:24 +0000 (17:20 +0000)]
Added mandatory Date: header to built-in webserver

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Thu, 2 Jun 2016 10:21:19 +0000 (12:21 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  update NEWS
  Fixed bug #70484 selectordinal doesn't work with named parameters

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Thu, 2 Jun 2016 10:20:46 +0000 (12:20 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  update NEWS
  Fixed bug #70484 selectordinal doesn't work with named parameters

8 years agoupdate NEWS
Anatol Belski [Thu, 2 Jun 2016 10:18:33 +0000 (12:18 +0200)]
update NEWS

8 years agoFixed bug #70484 selectordinal doesn't work with named parameters
Anatol Belski [Mon, 11 Apr 2016 13:00:58 +0000 (15:00 +0200)]
Fixed bug #70484 selectordinal doesn't work with named parameters

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Thu, 2 Jun 2016 10:08:46 +0000 (12:08 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fix ODBC bug for varchars returning with length zero

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Thu, 2 Jun 2016 10:07:54 +0000 (12:07 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix ODBC bug for varchars returning with length zero

8 years agoFix ODBC bug for varchars returning with length zero
Elizabeth Marie Smith [Thu, 14 Jan 2016 12:19:20 +0000 (13:19 +0100)]
Fix ODBC bug for varchars returning with length zero

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Thu, 2 Jun 2016 06:17:00 +0000 (14:17 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed bug #72308 (fastcgi_finish_request and logging environment variables)

8 years agoFixed bug #72308 (fastcgi_finish_request and logging environment variables)
Xinchen Hui [Thu, 2 Jun 2016 06:16:32 +0000 (14:16 +0800)]
Fixed bug #72308 (fastcgi_finish_request and logging environment variables)

8 years agoUse "fast" assembler functions in "slow" ones.
Dmitry Stogov [Wed, 1 Jun 2016 17:52:14 +0000 (20:52 +0300)]
Use "fast" assembler functions in "slow" ones.
Mark assembler functions that changes memory.

8 years agocleanup
Dmitry Stogov [Wed, 1 Jun 2016 15:07:05 +0000 (18:07 +0300)]
cleanup

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Wed, 1 Jun 2016 12:09:16 +0000 (14:09 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  update NEWS

8 years agoupdate NEWS
Anatol Belski [Wed, 1 Jun 2016 12:08:32 +0000 (14:08 +0200)]
update NEWS

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Wed, 1 Jun 2016 09:57:00 +0000 (11:57 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Add test for bug #72294
  Fixed bug #72294 Segmentation fault/invalid pointer in connection with pgsql_stmt_dtor

8 years agoAdd test for bug #72294
Anatol Belski [Wed, 1 Jun 2016 09:52:46 +0000 (11:52 +0200)]
Add test for bug #72294