]> granicus.if.org Git - php/log
php
8 years agorename the tmp ini file, to keep it consistent with m4 variant
Anatol Belski [Fri, 4 Nov 2016 17:42:36 +0000 (18:42 +0100)]
rename the tmp ini file, to keep it consistent with m4 variant

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Fri, 4 Nov 2016 17:38:22 +0000 (18:38 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  fix dir separator in test

8 years agofix dir separator in test
Anatol Belski [Fri, 4 Nov 2016 17:29:54 +0000 (18:29 +0100)]
fix dir separator in test

8 years agofix dir separator
Anatol Belski [Fri, 4 Nov 2016 12:10:52 +0000 (13:10 +0100)]
fix dir separator

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Fri, 4 Nov 2016 05:12:23 +0000 (22:12 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Add length check for bzcompress too - fix for bug #73356

8 years agoAdd length check for bzcompress too - fix for bug #73356
Stanislav Malyshev [Fri, 4 Nov 2016 05:10:22 +0000 (22:10 -0700)]
Add length check for bzcompress too - fix for bug #73356

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Fri, 4 Nov 2016 05:05:25 +0000 (22:05 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  More string length checks & fixes

8 years agoMore string length checks & fixes
Stanislav Malyshev [Fri, 4 Nov 2016 03:36:52 +0000 (20:36 -0700)]
More string length checks & fixes

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Fri, 4 Nov 2016 03:45:13 +0000 (20:45 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  More string length checks & fixes

8 years agoMore string length checks & fixes
Stanislav Malyshev [Fri, 4 Nov 2016 03:36:52 +0000 (20:36 -0700)]
More string length checks & fixes

8 years agoUpdated to version 2016.9 (2016i)
Derick Rethans [Thu, 3 Nov 2016 17:57:31 +0000 (13:57 -0400)]
Updated to version 2016.9 (2016i)

8 years agoEmpty merge
Derick Rethans [Thu, 3 Nov 2016 17:57:30 +0000 (13:57 -0400)]
Empty merge

8 years agoUpdated to version 2016.9 (2016i)
Derick Rethans [Thu, 3 Nov 2016 17:57:28 +0000 (13:57 -0400)]
Updated to version 2016.9 (2016i)

8 years agoFixed bug #73423 (Reproducible crash with GDB backtrace)
Xinchen Hui [Wed, 2 Nov 2016 04:11:30 +0000 (12:11 +0800)]
Fixed bug #73423 (Reproducible crash with GDB backtrace)

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Tue, 1 Nov 2016 19:24:10 +0000 (20:24 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix #73436: Setting allow_url_fopen to Off makes several tests fail
Christoph M. Becker [Tue, 1 Nov 2016 19:13:53 +0000 (20:13 +0100)]
Fix #73436: Setting allow_url_fopen to Off makes several tests fail

We make sure that these tests run with allow_url_fopen=1.

8 years agoadd run target
Anatol Belski [Tue, 1 Nov 2016 12:50:46 +0000 (13:50 +0100)]
add run target

With this it is possible to run some code with the currently compiled
PHP and all the required environment included.

8 years agoprefer symbols read from the bin to those matching the naming scheme
Anatol Belski [Sun, 30 Oct 2016 20:22:24 +0000 (21:22 +0100)]
prefer symbols read from the bin to those matching the naming scheme

8 years agoremove debug out
Anatol Belski [Sun, 30 Oct 2016 20:12:50 +0000 (21:12 +0100)]
remove debug out

8 years agofix link with deps pdb availability
Anatol Belski [Sun, 30 Oct 2016 19:55:38 +0000 (20:55 +0100)]
fix link with deps pdb availability

Unlike debugger, linker is currently not able to read the pdb files,
even if they're put onto path. As result, a lot of LNK4099 warnings
and in some cases also missing debug information in the end binaries.
This is solved by copying the relevant pdb into the build dir, which
then can be picked up on link time. This also leads to the inclusion
of those pdb files into the debug package, so symbols won't be missed
in crash dumps. As otherwise the debug info for dependencies is only
contained in the dependency packages.

8 years agouse rather the makefile var
Anatol Belski [Sun, 30 Oct 2016 14:28:56 +0000 (15:28 +0100)]
use rather the makefile var

8 years agorename the env setting target and reuse it for build-snap
Anatol Belski [Sun, 30 Oct 2016 14:22:45 +0000 (15:22 +0100)]
rename the env setting target and reuse it for build-snap

8 years agoFixed build failure introduced by PR #2158
Bob Weinand [Sat, 29 Oct 2016 16:49:38 +0000 (18:49 +0200)]
Fixed build failure introduced by PR #2158

Note: AC_TRY_LINK interprets the source as part of a main function, ending up with int main() { /* ... */ int main() { /* ... */ } ; return 0; } here - Using AC_LINK_IFELSE with AC_LANG_SOURCE directly instead.

8 years agofix condition
Anatol Belski [Sat, 29 Oct 2016 12:57:15 +0000 (14:57 +0200)]
fix condition

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Xinchen Hui [Sat, 29 Oct 2016 15:43:59 +0000 (23:43 +0800)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fixed bug #73402 (Opcache segfault when using class constant to call a method)

Conflicts:
ext/opcache/Optimizer/zend_optimizer.c

8 years agoFixed bug #73402 (Opcache segfault when using class constant to call a method)
Xinchen Hui [Sat, 29 Oct 2016 15:41:51 +0000 (23:41 +0800)]
Fixed bug #73402 (Opcache segfault when using class constant to call a method)

8 years agoSkip if no jit is built
Xinchen Hui [Sat, 29 Oct 2016 06:23:25 +0000 (14:23 +0800)]
Skip if no jit is built

8 years agofix test run with autogenerated ini
Anatol Belski [Sat, 29 Oct 2016 01:17:29 +0000 (03:17 +0200)]
fix test run with autogenerated ini

8 years agogenerate test ini file, so shared exts are loaded for nmake test
Anatol Belski [Sat, 29 Oct 2016 00:08:48 +0000 (02:08 +0200)]
generate test ini file, so shared exts are loaded for nmake test

8 years agoadditional env is generated for phpize, too
Anatol Belski [Fri, 28 Oct 2016 21:11:47 +0000 (23:11 +0200)]
additional env is generated for phpize, too

8 years agoFixed bug #73392 (A use-after-free in zend allocator management)
Xinchen Hui [Fri, 28 Oct 2016 13:21:24 +0000 (21:21 +0800)]
Fixed bug #73392 (A use-after-free in zend allocator management)

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Thu, 27 Oct 2016 21:37:51 +0000 (23:37 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years ago5.6.29 will be next
Ferenc Kovacs [Thu, 27 Oct 2016 21:10:59 +0000 (23:10 +0200)]
5.6.29 will be next

8 years agouse rather the nmake var as it's evaluated on every run
Anatol Belski [Thu, 27 Oct 2016 20:34:34 +0000 (22:34 +0200)]
use rather the nmake var as it's evaluated on every run

8 years agoprepend known bin folders to the path for nmake test runs
Anatol Belski [Thu, 27 Oct 2016 18:41:41 +0000 (20:41 +0200)]
prepend known bin folders to the path for nmake test runs

8 years agoyet another uninitialized pointer
Anatol Belski [Thu, 27 Oct 2016 00:40:30 +0000 (02:40 +0200)]
yet another uninitialized pointer

8 years agofix uninitialized pointer
Anatol Belski [Thu, 27 Oct 2016 00:15:14 +0000 (02:15 +0200)]
fix uninitialized pointer

8 years agoFixded bug #72736 (Slow performance when fetching large dataset with mysqli / PDO)
Dmitry Stogov [Wed, 26 Oct 2016 12:17:09 +0000 (15:17 +0300)]
Fixded bug #72736 (Slow performance when fetching large dataset with mysqli / PDO)

8 years agomake config.w32 compatible with ICU 58
Anatol Belski [Wed, 26 Oct 2016 11:05:03 +0000 (13:05 +0200)]
make config.w32 compatible with ICU 58

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Tue, 25 Oct 2016 12:30:59 +0000 (14:30 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix #72494: imagecropauto out-of-bounds access
Christoph M. Becker [Tue, 25 Oct 2016 12:19:36 +0000 (14:19 +0200)]
Fix #72494: imagecropauto out-of-bounds access

This issue has actually already been fixed with commit 46f2c690. We're
adding a regression test and a NEWS entry, and also port the fix in
gdImageCropThreshold() from libgd:
  * <https://github.com/libgd/libgd/commit/b347e034>
  * <https://github.com/libgd/libgd/commit/46f2c690>

8 years agomove dev to 7.0.14
Anatol Belski [Tue, 25 Oct 2016 08:29:51 +0000 (10:29 +0200)]
move dev to 7.0.14

8 years agoUpdated to version 2016.8 (2016h)
Derick Rethans [Mon, 24 Oct 2016 09:37:13 +0000 (10:37 +0100)]
Updated to version 2016.8 (2016h)

8 years agoEmpty merge
Derick Rethans [Mon, 24 Oct 2016 09:37:12 +0000 (10:37 +0100)]
Empty merge

8 years agoUpdated to version 2016.8 (2016h)
Derick Rethans [Mon, 24 Oct 2016 09:37:07 +0000 (10:37 +0100)]
Updated to version 2016.8 (2016h)

8 years agoFix test output
Nikita Popov [Sun, 23 Oct 2016 20:26:25 +0000 (22:26 +0200)]
Fix test output

Changed due to eca84946a4e7269d59ea2d79b5f42117de89ae74.

8 years agoFixed bug #73350 (Exception::__toString() cause circular references)
Xinchen Hui [Sat, 22 Oct 2016 06:50:21 +0000 (14:50 +0800)]
Fixed bug #73350 (Exception::__toString() cause circular references)

8 years agoFix bug #71241: array_replace_recursive mutates ref params
Adam Saponara [Fri, 26 Aug 2016 21:33:22 +0000 (17:33 -0400)]
Fix bug #71241: array_replace_recursive mutates ref params

`array_replace_recursive` can sometimes mutate its params if
references are nested within. This differs from the PHP 5 behavior.

8 years agoAdd php_random_int internal API
Leigh [Wed, 19 Oct 2016 17:00:54 +0000 (18:00 +0100)]
Add php_random_int internal API

This is the internal API compliment to `php_random_bytes`

8 years agonews entry for #pr 2152
Joe Watkins [Thu, 20 Oct 2016 04:21:56 +0000 (05:21 +0100)]
news entry for #pr 2152

8 years agoMerge branch 'pull-request/2152' into PHP-7.0
Joe Watkins [Thu, 20 Oct 2016 04:19:10 +0000 (05:19 +0100)]
Merge branch 'pull-request/2152' into PHP-7.0

8 years agoupdate NEWS
Anatol Belski [Tue, 18 Oct 2016 17:43:12 +0000 (19:43 +0200)]
update NEWS

8 years agoFixed bug #73329 (Float)"Nano" == NAN
Anatol Belski [Tue, 18 Oct 2016 17:11:18 +0000 (19:11 +0200)]
Fixed bug #73329 (Float)"Nano" == NAN

The special cases (float)"inf", etc. were never intended and are
caused by the updated strtod lib. While it might be nice as an
easy way to produce Inf and NaN special values, it was never
documented and cause BC breaches.

8 years agosync NEWS
Anatol Belski [Tue, 18 Oct 2016 16:18:04 +0000 (18:18 +0200)]
sync NEWS

48f1a178 is reverted

8 years agoFixed bug #73338 (Exception thrown from error handler may crash)
Bob Weinand [Tue, 18 Oct 2016 12:13:20 +0000 (14:13 +0200)]
Fixed bug #73338 (Exception thrown from error handler may crash)

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Dmitry Stogov [Tue, 18 Oct 2016 12:04:49 +0000 (15:04 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fixed bug #73337 (try/catch not working with two exceptions inside a same operation)

8 years agoFixed bug #73337 (try/catch not working with two exceptions inside a same operation)
Dmitry Stogov [Tue, 18 Oct 2016 11:48:01 +0000 (14:48 +0300)]
Fixed bug #73337 (try/catch not working with two exceptions inside a same operation)

8 years agoRevert "Fix bug #47890 #73215 uniqid() should use better random source"
Joe Watkins [Tue, 18 Oct 2016 10:30:19 +0000 (11:30 +0100)]
Revert "Fix bug #47890 #73215 uniqid() should use better random source"

This reverts commit 48f1a17886d874dc90867c669481804de90509e8.

8 years agoUpdate NEWS
Yasuo Ohgaki [Tue, 18 Oct 2016 00:28:18 +0000 (09:28 +0900)]
Update NEWS

8 years agoFix bug #47890 #73215 uniqid() should use better random source
Yasuo Ohgaki [Tue, 18 Oct 2016 00:04:57 +0000 (09:04 +0900)]
Fix bug #47890 #73215 uniqid() should use better random source

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Mon, 17 Oct 2016 21:37:00 +0000 (23:37 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

We also use ZEND_LONG_(MAX|MIN) now instead of LONG_(MAX|MIN).

8 years agoFix #73333: 2147483647 is fetched as string
Christoph M. Becker [Mon, 17 Oct 2016 14:58:49 +0000 (16:58 +0200)]
Fix #73333: 2147483647 is fetched as string

We return all integers that can be represented as such by PHP as
integers, and only those that exceed the possible range as strings.
On builds which represent integers with 64 bits, the range check is
unnecessary and might cause code checkers to complain, so we skip this
special casing via the preprocessor according to
<http://git.php.net/?p=php-src.git;a=commit;h=99d087e5>.

8 years agosync NEWS
Anatol Belski [Mon, 17 Oct 2016 19:26:34 +0000 (21:26 +0200)]
sync NEWS

8 years agoMerge branch 'pull-request/1817'
Joe Watkins [Mon, 17 Oct 2016 15:49:24 +0000 (16:49 +0100)]
Merge branch 'pull-request/1817'

8 years agoMerge branch 'pull-request/1816'
Joe Watkins [Mon, 17 Oct 2016 15:50:12 +0000 (16:50 +0100)]
Merge branch 'pull-request/1816'

8 years agoMerge branch 'pull-request/1814'
Joe Watkins [Mon, 17 Oct 2016 15:50:53 +0000 (16:50 +0100)]
Merge branch 'pull-request/1814'

8 years agoMerge branch 'pull-request/1808'
Joe Watkins [Mon, 17 Oct 2016 15:53:04 +0000 (16:53 +0100)]
Merge branch 'pull-request/1808'

8 years agoMerge branch 'pull-request/2097'
Joe Watkins [Mon, 17 Oct 2016 14:59:51 +0000 (15:59 +0100)]
Merge branch 'pull-request/2097'

8 years agonews entry for pr #2158
Joe Watkins [Mon, 17 Oct 2016 14:50:59 +0000 (15:50 +0100)]
news entry for pr #2158

8 years agoMerge branch 'pull-request/2158'
Joe Watkins [Mon, 17 Oct 2016 13:42:35 +0000 (14:42 +0100)]
Merge branch 'pull-request/2158'

8 years agoFixed bug #71148 (Bind reference overwritten on PHP 7)
Christopher Jones [Mon, 17 Oct 2016 01:40:14 +0000 (12:40 +1100)]
Fixed bug #71148 (Bind reference overwritten on PHP 7)

8 years agoFixed bug #71234 (INI files are loaded even invoked as phpdbg -n --version)
Bob Weinand [Sun, 16 Oct 2016 13:41:37 +0000 (15:41 +0200)]
Fixed bug #71234 (INI files are loaded even invoked as phpdbg -n --version)

8 years agoFixed bug #70776 (Simple SIGINT does not have any effect)
Bob Weinand [Sun, 16 Oct 2016 11:47:49 +0000 (13:47 +0200)]
Fixed bug #70776 (Simple SIGINT does not have any effect)

8 years agosync NEWS
Anatol Belski [Fri, 14 Oct 2016 17:52:04 +0000 (19:52 +0200)]
sync NEWS

8 years agobump ext/zip version
Remi Collet [Fri, 14 Oct 2016 15:31:07 +0000 (17:31 +0200)]
bump ext/zip version

8 years agoFix memory leak when compiling files in phpdbg
Bob Weinand [Fri, 14 Oct 2016 10:24:28 +0000 (12:24 +0200)]
Fix memory leak when compiling files in phpdbg

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Remi Collet [Fri, 14 Oct 2016 08:54:09 +0000 (10:54 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  use zend_error instead of zend_error_noreturn

8 years agouse zend_error instead of zend_error_noreturn
Remi Collet [Fri, 14 Oct 2016 08:53:40 +0000 (10:53 +0200)]
use zend_error instead of zend_error_noreturn

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Fri, 14 Oct 2016 06:08:10 +0000 (08:08 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoadd missing NEWS entries for 5.6.27
Ferenc Kovacs [Fri, 14 Oct 2016 06:05:17 +0000 (08:05 +0200)]
add missing NEWS entries for 5.6.27

8 years agosoap #69137 - Invert logic to be correct
Keith Smiley [Fri, 14 Oct 2016 03:56:24 +0000 (23:56 -0400)]
soap #69137 - Invert logic to be correct

8 years agomissed piece for renaming
Anatol Belski [Thu, 13 Oct 2016 13:39:02 +0000 (15:39 +0200)]
missed piece for renaming

8 years agorename publicly exposed symbol to avoid name conflicts
Anatol Belski [Thu, 13 Oct 2016 13:23:15 +0000 (15:23 +0200)]
rename publicly exposed symbol to avoid name conflicts

8 years agoIgnore non-executable opcodes in line mode of phpdbg_end_oplog()
Bob Weinand [Thu, 13 Oct 2016 12:09:12 +0000 (14:09 +0200)]
Ignore non-executable opcodes in line mode of phpdbg_end_oplog()

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Thu, 13 Oct 2016 09:24:03 +0000 (11:24 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix #73280: Stack Buffer Overflow in GD dynamicGetbuf
Christoph M. Becker [Thu, 13 Oct 2016 09:10:02 +0000 (11:10 +0200)]
Fix #73280: Stack Buffer Overflow in GD dynamicGetbuf

We make sure to never pass a negative `rlen` as size to memcpy().

Cf. <https://github.com/libgd/libgd/commit/53110871>.

8 years agouse already exported symbol
Anatol Belski [Thu, 13 Oct 2016 07:55:37 +0000 (09:55 +0200)]
use already exported symbol

8 years agoRevert "export symbol missing by phpdbg"
Anatol Belski [Thu, 13 Oct 2016 07:50:32 +0000 (09:50 +0200)]
Revert "export symbol missing by phpdbg"

This reverts commit 611ab7fe5b9fe41de56c25b1d348a866794b1fb1.

Overseen strpprintf is there

8 years agoFix outlen for openssl function
Stanislav Malyshev [Thu, 13 Oct 2016 06:19:07 +0000 (23:19 -0700)]
Fix outlen for openssl function

Even though datalen can't be over int, outlen can.

8 years agoSyncronize with 5.6 - __toString should return ""
Stanislav Malyshev [Thu, 13 Oct 2016 06:08:30 +0000 (23:08 -0700)]
Syncronize with 5.6 - __toString should return ""

8 years agoFix potential overflows in php_pcre_replace_impl
Stanislav Malyshev [Thu, 13 Oct 2016 06:07:47 +0000 (23:07 -0700)]
Fix potential overflows in php_pcre_replace_impl

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Wed, 12 Oct 2016 23:31:36 +0000 (01:31 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Clear FG(user_stream_current_filename) when bailing out
  Fix tests
  fix tsrm
  Fix bug #73284 - heap overflow in php_ereg_replace function
  Fix bug #73276 - crash in openssl_random_pseudo_bytes function
  Fix bug #73293 - NULL pointer dereference in SimpleXMLElement::asXML()
  fix bug #73275 - crash in openssl_encrypt function
  Fix for #73240 - Write out of bounds at number_format
  Bug #73218: add mitigation for ICU int overflow
  Add more locale length checks, due to ICU bugs.
  Fix bug #73208 - another missing length check
  Fix bug #73190: memcpy negative parameter _bc_new_num_ex
  Fix bug #73189 - Memcpy negative size parameter php_resolve_path
  Fixed bug #73174 - heap overflow in php_pcre_replace_impl
  Fix bug #73150: missing NULL check in dom_document_save_html
  Fix bug #73147: Use After Free in PHP7 unserialize()
  Fix bug #73082
  Fix bug #73073 - CachingIterator null dereference when convert to string

8 years agoFixed bug #73237
Keith Smiley [Mon, 27 Jun 2016 18:23:15 +0000 (14:23 -0400)]
Fixed bug #73237

If the response includes both fields with simple types (which get
concatenated into an XML string) and a complex type (which is parsed
into an object), then the object will parsed into the same zval as the
simple types and will overwrite the string.

8 years agoFixed bug in zend_accel_error() and cleaned up kill_all_lockers()
Mitch Hagstrand [Wed, 12 Oct 2016 01:18:59 +0000 (20:18 -0500)]
Fixed bug in zend_accel_error() and cleaned up kill_all_lockers()

1. zend_accel_error was only executing clean up if log_verbosity_level is high enough to log
2. Cleaned up kill_all_lockers function and fixed comments.

8 years agoUpdate NEWS
Bob Weinand [Wed, 12 Oct 2016 20:54:32 +0000 (22:54 +0200)]
Update NEWS

Also add missing include.inc test file

8 years agoFix phpdbg tests after lineno change
Nikita Popov [Wed, 12 Oct 2016 20:41:59 +0000 (22:41 +0200)]
Fix phpdbg tests after lineno change

8 years agoFix line number of implicit return in pseudo-main scope
Nikita Popov [Wed, 12 Oct 2016 20:16:20 +0000 (22:16 +0200)]
Fix line number of implicit return in pseudo-main scope

8 years agoexport symbol missing by phpdbg
Anatol Belski [Wed, 12 Oct 2016 20:18:05 +0000 (22:18 +0200)]
export symbol missing by phpdbg

8 years agoFix accidental PHPDBG_ABI break
Bob Weinand [Wed, 12 Oct 2016 20:16:11 +0000 (22:16 +0200)]
Fix accidental PHPDBG_ABI break

8 years agoFix bug #73189 - Memcpy negative size parameter php_resolve_path
Stanislav Malyshev [Thu, 29 Sep 2016 06:30:48 +0000 (23:30 -0700)]
Fix bug #73189 - Memcpy negative size parameter php_resolve_path

(cherry picked from commit da7e89cde880c66887caacd0a3eae7ecdacf9b2a)