]> granicus.if.org Git - php/log
php
9 years agoFix bug #71637: Multiple Heap Overflow due to integer overflows
Stanislav Malyshev [Mon, 22 Feb 2016 07:14:29 +0000 (23:14 -0800)]
Fix bug #71637: Multiple Heap Overflow due to integer overflows

9 years agoextend check for add_flag
Anatol Belski [Tue, 1 Mar 2016 08:35:00 +0000 (09:35 +0100)]
extend check for add_flag

9 years agoFixed another segfault with file_cache_only now
Xinchen Hui [Tue, 1 Mar 2016 02:50:56 +0000 (10:50 +0800)]
Fixed another segfault with file_cache_only now

9 years agoset version
Anatol Belski [Mon, 29 Feb 2016 19:44:00 +0000 (20:44 +0100)]
set version

9 years agofix nmake clean in phpize mode
Anatol Belski [Mon, 29 Feb 2016 09:58:56 +0000 (10:58 +0100)]
fix nmake clean in phpize mode

9 years agoFixed segfault with file_cache_only
Xinchen Hui [Sun, 28 Feb 2016 03:50:06 +0000 (11:50 +0800)]
Fixed segfault with file_cache_only

9 years agoFixed possible crash at PCRE on MSHUTDOWN
Dmitry Stogov [Wed, 24 Feb 2016 20:46:11 +0000 (23:46 +0300)]
Fixed possible crash at PCRE on MSHUTDOWN

9 years agoFixed more synchronisation issues during SHM reload
Dmitry Stogov [Wed, 24 Feb 2016 18:15:53 +0000 (21:15 +0300)]
Fixed more synchronisation issues during SHM reload

9 years agoSet proper type flags (REFCOUNTED and COPYABLE) according to interned or regular...
Dmitry Stogov [Thu, 18 Feb 2016 20:15:38 +0000 (23:15 +0300)]
Set proper type flags (REFCOUNTED and COPYABLE) according to interned or regular string

9 years agosync with improvements in NEWS
Anatol Belski [Wed, 24 Feb 2016 11:23:26 +0000 (12:23 +0100)]
sync with improvements in NEWS

9 years agoFixed process synchronisation problem, that may cause crashes after opcache restart
Dmitry Stogov [Wed, 17 Feb 2016 10:58:05 +0000 (13:58 +0300)]
Fixed process synchronisation problem, that may cause crashes after opcache restart

9 years agoset versions php-7.0.4RC1
Anatol Belski [Tue, 16 Feb 2016 08:17:47 +0000 (09:17 +0100)]
set versions

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 16 Feb 2016 07:29:37 +0000 (08:29 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  yet two test fixes in openssl in 5.6

9 years agoyet two test fixes in openssl in 5.6
Anatol Belski [Tue, 16 Feb 2016 07:28:10 +0000 (08:28 +0100)]
yet two test fixes in openssl in 5.6

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 16 Feb 2016 07:06:38 +0000 (08:06 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  improve test

9 years agoimprove test
Anatol Belski [Tue, 16 Feb 2016 07:05:16 +0000 (08:05 +0100)]
improve test

9 years agoFixed bug #71603 (compact() maintains references in php7)
Xinchen Hui [Tue, 16 Feb 2016 03:02:57 +0000 (11:02 +0800)]
Fixed bug #71603 (compact() maintains references in php7)

9 years agoFixed bug #71601 (finally block not executed after yield from)
Bob Weinand [Mon, 15 Feb 2016 21:37:21 +0000 (22:37 +0100)]
Fixed bug #71601 (finally block not executed after yield from)

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Mon, 15 Feb 2016 15:53:31 +0000 (16:53 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix timelib compat with PHP5

9 years agoFix timelib compat with PHP5
Anatol Belski [Mon, 15 Feb 2016 15:50:42 +0000 (16:50 +0100)]
Fix timelib compat with PHP5

Windows builds in PHP5 are always using long which is 32-bit even
in 64-bit build. Thus in PHP5, timelib_long and the company have
to always evaluate to a 32-bit.

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Mon, 15 Feb 2016 14:15:52 +0000 (15:15 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Backported fix for bug #71525

9 years agoBackported fix for bug #71525
Anatol Belski [Mon, 15 Feb 2016 14:14:23 +0000 (15:14 +0100)]
Backported fix for bug #71525

9 years agoFixed possible memory leak
Dmitry Stogov [Mon, 15 Feb 2016 13:40:05 +0000 (16:40 +0300)]
Fixed possible memory leak

9 years agoAdded missing semicolon
Dmitry Stogov [Mon, 15 Feb 2016 13:37:27 +0000 (16:37 +0300)]
Added missing semicolon

9 years agoMore fixing for bug #71540
Stanislav Malyshev [Mon, 15 Feb 2016 09:53:02 +0000 (01:53 -0800)]
More fixing for bug #71540

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Mon, 15 Feb 2016 08:09:30 +0000 (00:09 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix bug #71540 - NULL pointer dereference in xsl_ext_function_php()

Conflicts:
ext/xsl/xsltprocessor.c

9 years agoFix bug #71540 - NULL pointer dereference in xsl_ext_function_php()
Stanislav Malyshev [Mon, 15 Feb 2016 07:35:29 +0000 (23:35 -0800)]
Fix bug #71540 - NULL pointer dereference in xsl_ext_function_php()

9 years agoFix bug #71540 - NULL pointer dereference in xsl_ext_function_php()
Stanislav Malyshev [Mon, 15 Feb 2016 07:35:29 +0000 (23:35 -0800)]
Fix bug #71540 - NULL pointer dereference in xsl_ext_function_php()

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Mon, 15 Feb 2016 08:01:59 +0000 (09:01 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  fix dir separator in test

9 years agofix dir separator in test
Anatol Belski [Mon, 15 Feb 2016 08:00:07 +0000 (09:00 +0100)]
fix dir separator in test

9 years agofix dir separator in test
Anatol Belski [Mon, 15 Feb 2016 07:58:20 +0000 (08:58 +0100)]
fix dir separator in test

9 years agomake sure the tests always uses same tz
Anatol Belski [Mon, 15 Feb 2016 07:38:17 +0000 (08:38 +0100)]
make sure the tests always uses same tz

9 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Xinchen Hui [Mon, 15 Feb 2016 07:32:52 +0000 (15:32 +0800)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0

* 'PHP-7.0' of git.php.net:/php-src:
  fixed news entry
  fix NEWS entry
  update NEWS
  Fix bug #71525

9 years agofixed news entry
Anatol Belski [Mon, 15 Feb 2016 07:27:41 +0000 (08:27 +0100)]
fixed news entry

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Mon, 15 Feb 2016 07:27:17 +0000 (08:27 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  fix NEWS entry

9 years agoFixed typo (I think it should be a typo)
Xinchen Hui [Mon, 15 Feb 2016 07:26:44 +0000 (15:26 +0800)]
Fixed typo (I think it should be a typo)

9 years agofix NEWS entry
Anatol Belski [Mon, 15 Feb 2016 07:25:23 +0000 (08:25 +0100)]
fix NEWS entry

9 years agoupdate NEWS
Anatol Belski [Mon, 15 Feb 2016 07:21:46 +0000 (08:21 +0100)]
update NEWS

9 years agoFix bug #71525
Sean DuBois [Thu, 4 Feb 2016 21:13:57 +0000 (15:13 -0600)]
Fix bug #71525

timelib_time->timelib_rel_time is mutated by date_modify, and because it is never zero'ed out
it latters causes other date operations to fail (like date_date_set)

9 years agoUpdate NEWS
Xinchen Hui [Mon, 15 Feb 2016 05:24:39 +0000 (13:24 +0800)]
Update NEWS

9 years agofpm: call zend_signal_init() in child
Mickaël [Sat, 9 Jan 2016 03:54:02 +0000 (04:54 +0100)]
fpm: call zend_signal_init() in child

This addresses bug #71269.

When an fpm child handles more than one request, zend_signal_startup() will
override the saved signal handlers with the internal zend handlers set from the
previous request, causing a SIGQUIT signal to result in a core dump rather than
gracefully exiting (the expected behaviour).

This is fixed by adding a call to zend_signal_init() after setting the
signal handlers in the child. The same technique is used in the apache SAPI
module in commit fd5a756ad44124ffa7e9a5810a31ff49e91708cf which addresses
bug #61083.

9 years agoUpdate NEWS
Xinchen Hui [Mon, 15 Feb 2016 02:37:37 +0000 (10:37 +0800)]
Update NEWS

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Xinchen Hui [Mon, 15 Feb 2016 02:32:50 +0000 (10:32 +0800)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Update NEWS: "Fixed bug  #71584 (Possible use-after-free of ZCG(cwd) in Zend Opcache)"
  Fix use-after-free of ZCG(cwd) in Zend Optimizer

Conflicts:
ext/opcache/ZendAccelerator.c

9 years agoUpdate NEWS: "Fixed bug #71584 (Possible use-after-free of ZCG(cwd) in Zend Opcache)"
Xinchen Hui [Mon, 15 Feb 2016 02:31:37 +0000 (10:31 +0800)]
Update NEWS: "Fixed bug  #71584 (Possible use-after-free of ZCG(cwd) in Zend Opcache)"

9 years agoMerge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6
Xinchen Hui [Mon, 15 Feb 2016 02:29:28 +0000 (10:29 +0800)]
Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6

* 'PHP-5.6' of git.php.net:/php-src:
  update NEWS
  Fixed bug #71559 Built-in HTTP server, we can downlaod file in web by bug
  Check length of string before comparing to :memory:
  Fix bounds check in strip_tags()
  Fix test description
  FIx bug #71569

9 years agoupdated NEWS
Anatol Belski [Sun, 14 Feb 2016 19:54:13 +0000 (20:54 +0100)]
updated NEWS

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Sun, 14 Feb 2016 19:53:41 +0000 (20:53 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  update NEWS

9 years agoupdate NEWS
Anatol Belski [Sun, 14 Feb 2016 19:52:47 +0000 (20:52 +0100)]
update NEWS

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Sun, 14 Feb 2016 19:49:03 +0000 (20:49 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fixed bug #71559 Built-in HTTP server, we can downlaod file in web by bug

9 years agoFixed bug #71559 Built-in HTTP server, we can downlaod file in web by bug
Anatol Belski [Sun, 14 Feb 2016 19:47:23 +0000 (20:47 +0100)]
Fixed bug #71559 Built-in HTTP server, we can downlaod file in web by bug

9 years agocleanup duplicated var
Anatol Belski [Sun, 14 Feb 2016 16:20:37 +0000 (17:20 +0100)]
cleanup duplicated var

9 years agofix file lists with subdirs passed to EXTENSION()
Anatol Belski [Sun, 14 Feb 2016 16:02:28 +0000 (17:02 +0100)]
fix file lists with subdirs passed to EXTENSION()

The underlying place responsible is the ADD_SOURCES() function. With
this, the calls like

EXTENSION("hello", "sub0/file0.c sub1/file1.c", ...)

are working correctly. Same for

ADD_SOURCES("some/dir", "sub0/file0.c sub1/file1.c", ...)

9 years agoFormat string fixes
Nikita Popov [Sun, 14 Feb 2016 13:02:19 +0000 (14:02 +0100)]
Format string fixes

Conflicts:
ext/pgsql/pgsql.c

9 years agoFix format attributes in ZTS
Nikita Popov [Sun, 14 Feb 2016 12:50:59 +0000 (13:50 +0100)]
Fix format attributes in ZTS

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Sat, 13 Feb 2016 17:03:06 +0000 (18:03 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

Conflicts:
ext/sqlite3/sqlite3.c

9 years agoCheck length of string before comparing to :memory:
Nikita Popov [Sat, 13 Feb 2016 17:01:50 +0000 (18:01 +0100)]
Check length of string before comparing to :memory:

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Sat, 13 Feb 2016 16:48:17 +0000 (17:48 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

9 years agoFix bounds check in strip_tags()
Nikita Popov [Sat, 13 Feb 2016 16:47:30 +0000 (17:47 +0100)]
Fix bounds check in strip_tags()

9 years agoFix test description
Nikita Popov [Sat, 13 Feb 2016 16:46:24 +0000 (17:46 +0100)]
Fix test description

9 years agoFix extract() overwriting its own argument
Nikita Popov [Sat, 13 Feb 2016 16:39:26 +0000 (17:39 +0100)]
Fix extract() overwriting its own argument

Already covered by bug46873.phpt under valgrind.

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Sat, 13 Feb 2016 14:21:16 +0000 (15:21 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

Conflicts:
ext/pdo_mysql/mysql_driver.c

9 years agoFIx bug #71569
Nikita Popov [Sat, 13 Feb 2016 14:17:51 +0000 (15:17 +0100)]
FIx bug #71569

convert_to_string() may result in an interned string.

9 years agoForbid yield from in by-reference generators
Nikita Popov [Fri, 12 Feb 2016 16:55:29 +0000 (17:55 +0100)]
Forbid yield from in by-reference generators

The current yield from implementation doesn't support by-ref
yields. It's likely not worthwhile to actually implement this,
but we should at least keep the door open for the future by
issuing a compile error.

Refs bug #71252.

9 years agoFix yield-by-ref of constant
Nikita Popov [Thu, 11 Feb 2016 15:32:45 +0000 (16:32 +0100)]
Fix yield-by-ref of constant

Typo in the condition...

9 years agoFix dangling send target when using yield from
Nikita Popov [Thu, 11 Feb 2016 15:22:42 +0000 (16:22 +0100)]
Fix dangling send target when using yield from

Also drop some unnecessary TRY_DELREFs -- leftovers from the days
when null was refcounted.

9 years agofix version header
Anatol Belski [Thu, 11 Feb 2016 15:23:19 +0000 (16:23 +0100)]
fix version header

9 years agoFixed inherited functions from unspecified files being included in phpdbg_get_executa...
Bob Weinand [Thu, 11 Feb 2016 05:42:51 +0000 (06:42 +0100)]
Fixed inherited functions from unspecified files being included in phpdbg_get_executable()

See also https://github.com/krakjoe/phpdbg/issues/152

9 years agoCrude generator GC for value/key/retval
Nikita Popov [Wed, 10 Feb 2016 18:03:02 +0000 (19:03 +0100)]
Crude generator GC for value/key/retval

These values remain live after the generator has been closed, so
they are particularly susceptible to leaking cycles.

9 years agoMerge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0
Joe Watkins [Wed, 10 Feb 2016 12:58:19 +0000 (12:58 +0000)]
Merge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0

9 years agobe more precise about the meaning of -n
Joe Watkins [Wed, 10 Feb 2016 12:57:48 +0000 (12:57 +0000)]
be more precise about the meaning of -n

9 years agoFix use-after-free of ZCG(cwd) in Zend Optimizer
Yussuf Khalil [Wed, 10 Feb 2016 09:33:57 +0000 (10:33 +0100)]
Fix use-after-free of ZCG(cwd) in Zend Optimizer

9 years agoUpdate NEWS
Xinchen Hui [Tue, 9 Feb 2016 15:36:15 +0000 (23:36 +0800)]
Update NEWS

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Xinchen Hui [Tue, 9 Feb 2016 15:35:55 +0000 (23:35 +0800)]
Merge branch 'PHP-5.6' into PHP-7.0

Conflicts:
ext/zip/php_zip.c

9 years agoMerge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6
Xinchen Hui [Tue, 9 Feb 2016 15:33:30 +0000 (23:33 +0800)]
Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6

9 years agoFixed bug #71561 (NULL pointer dereference in Zip::ExtractTo)
Xinchen Hui [Tue, 9 Feb 2016 15:32:20 +0000 (23:32 +0800)]
Fixed bug #71561 (NULL pointer dereference in Zip::ExtractTo)

9 years agoFixed bug (Low probability segfault in zend_arena)
Xinchen Hui [Tue, 9 Feb 2016 04:20:11 +0000 (12:20 +0800)]
Fixed bug (Low probability segfault in zend_arena)

9 years agoAdd entry for re-fix of #70976 in commit 14e4d393
Lior Kaplan [Mon, 8 Feb 2016 18:31:08 +0000 (20:31 +0200)]
Add entry for re-fix of #70976 in commit 14e4d393

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Lior Kaplan [Mon, 8 Feb 2016 18:29:24 +0000 (20:29 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Align spacing in make install messages
  Add entry for re-fix of #70976 in commit 14e4d393

9 years agoAlign spacing in make install messages
Lior Kaplan [Mon, 8 Feb 2016 18:27:19 +0000 (20:27 +0200)]
Align spacing in make install messages

9 years agoFixed memory leak in curl_getinfo()
Leigh [Mon, 8 Feb 2016 11:36:14 +0000 (11:36 +0000)]
Fixed memory leak in curl_getinfo()

The "v ? v" in the CAASTR macro caused zend_string_copy to be
called twice

9 years agoHappy Year of Monkey (Forgot test of #71537)
Xinchen Hui [Mon, 8 Feb 2016 02:22:16 +0000 (10:22 +0800)]
Happy Year of Monkey (Forgot test of #71537)

9 years agoAdd entry for re-fix of #70976 in commit 14e4d393
Lior Kaplan [Sun, 7 Feb 2016 18:19:31 +0000 (20:19 +0200)]
Add entry for re-fix of #70976 in commit 14e4d393

9 years agoFixed bug #71537 (PCRE segfault from Opcache)
Xinchen Hui [Sun, 7 Feb 2016 15:19:24 +0000 (23:19 +0800)]
Fixed bug #71537 (PCRE segfault from Opcache)

9 years agoFix bug #71529
Nikita Popov [Sat, 6 Feb 2016 15:38:59 +0000 (16:38 +0100)]
Fix bug #71529

9 years agoOnline test
Xinchen Hui [Fri, 5 Feb 2016 11:56:23 +0000 (19:56 +0800)]
Online test

9 years agoUpdate NEWS
Xinchen Hui [Fri, 5 Feb 2016 11:51:58 +0000 (19:51 +0800)]
Update NEWS

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Xinchen Hui [Fri, 5 Feb 2016 11:51:33 +0000 (19:51 +0800)]
Merge branch 'PHP-5.6' into PHP-7.0

Conflicts:
ext/curl/interface.c

9 years agoFixed bug #71523 (Copied handle with new option CURLOPT_HTTPHEADER crashes while...
Xinchen Hui [Fri, 5 Feb 2016 11:49:26 +0000 (19:49 +0800)]
Fixed bug #71523 (Copied handle with new option CURLOPT_HTTPHEADER crashes while curl_multi_exec)

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Lior Kaplan [Thu, 4 Feb 2016 23:08:22 +0000 (01:08 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Align NEWS entry format

9 years agoAlign NEWS entry format
Lior Kaplan [Thu, 4 Feb 2016 23:08:01 +0000 (01:08 +0200)]
Align NEWS entry format

9 years agoAlign NEWS entry format
Lior Kaplan [Thu, 4 Feb 2016 22:40:12 +0000 (00:40 +0200)]
Align NEWS entry format

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Thu, 4 Feb 2016 19:41:13 +0000 (20:41 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  update NEWS

9 years agoupdate NEWS
Ferenc Kovacs [Thu, 4 Feb 2016 19:40:54 +0000 (20:40 +0100)]
update NEWS

9 years agoadd missin NEWS entry
Anatol Belski [Thu, 4 Feb 2016 17:09:35 +0000 (18:09 +0100)]
add missin NEWS entry

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Jakub Zelenka [Thu, 4 Feb 2016 16:54:44 +0000 (16:54 +0000)]
Merge branch 'PHP-5.6' into PHP-7.0

9 years agoSplit and clean up OpenSSL X509 tests
Jakub Zelenka [Thu, 4 Feb 2016 16:51:36 +0000 (16:51 +0000)]
Split and clean up OpenSSL X509 tests

9 years agoFix bug #71501
Hieu Le [Wed, 3 Feb 2016 06:20:30 +0000 (13:20 +0700)]
Fix bug #71501

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Jakub Zelenka [Wed, 3 Feb 2016 16:22:39 +0000 (16:22 +0000)]
Merge branch 'PHP-5.6' into PHP-7.0

9 years agoRename and clean up OpenSSL tests
Jakub Zelenka [Wed, 3 Feb 2016 16:20:27 +0000 (16:20 +0000)]
Rename and clean up OpenSSL tests

9 years agofix build
Antony Dovgal [Wed, 3 Feb 2016 15:02:58 +0000 (18:02 +0300)]
fix build

sorry about that =\