]> granicus.if.org Git - php/log
php
10 years agoMerge branch 'PHP-5.6'
Remi Collet [Wed, 17 Dec 2014 10:01:23 +0000 (11:01 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Better fix for #68601 for perf https://bitbucket.org/libgd/gd-libgd/commits/81e9a993f2893d651d225646378e3fd1b7465467

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Remi Collet [Wed, 17 Dec 2014 10:00:52 +0000 (11:00 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Better fix for #68601 for perf https://bitbucket.org/libgd/gd-libgd/commits/81e9a993f2893d651d225646378e3fd1b7465467

10 years agoBetter fix for #68601 for perf
Remi Collet [Wed, 17 Dec 2014 09:59:36 +0000 (10:59 +0100)]
Better fix for #68601 for perf
https://bitbucket.org/libgd/gd-libgd/commits/81e9a993f2893d651d225646378e3fd1b7465467

10 years agoAdded EXPECTED(). Most functions have arguments.
Dmitry Stogov [Wed, 17 Dec 2014 09:16:02 +0000 (12:16 +0300)]
Added EXPECTED(). Most functions have arguments.

10 years agoMerge branch 'fix-typo' of https://github.com/gustavotemple/php-src
Xinchen Hui [Wed, 17 Dec 2014 03:52:42 +0000 (11:52 +0800)]
Merge branch 'fix-typo' of https://github.com/gustavotemple/php-src

10 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Xinchen Hui [Wed, 17 Dec 2014 03:52:19 +0000 (11:52 +0800)]
Merge branch 'master' of https://git.php.net/repository/php-src

10 years agofix unserializer patch
Stanislav Malyshev [Wed, 17 Dec 2014 00:41:05 +0000 (16:41 -0800)]
fix unserializer patch

10 years agoMerge branch 'PHP-5.6'
Ferenc Kovacs [Wed, 17 Dec 2014 01:18:43 +0000 (02:18 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  move this entry to the correct version

10 years agomove this entry to the correct version
Ferenc Kovacs [Wed, 17 Dec 2014 01:18:29 +0000 (02:18 +0100)]
move this entry to the correct version

10 years agoMerge branch 'PHP-5.6'
Ferenc Kovacs [Wed, 17 Dec 2014 01:15:36 +0000 (02:15 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  add missing NEWS entry
  add missing NEWS entry
  5.4.37

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Ferenc Kovacs [Wed, 17 Dec 2014 01:14:25 +0000 (02:14 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  add missing NEWS entry
  add missing NEWS entry
  5.4.37

10 years agoadd missing NEWS entry
Ferenc Kovacs [Wed, 17 Dec 2014 01:13:59 +0000 (02:13 +0100)]
add missing NEWS entry

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Ferenc Kovacs [Wed, 17 Dec 2014 01:13:13 +0000 (02:13 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  add missing NEWS entry
  5.4.37

Conflicts:
configure.in
main/php_version.h

10 years agoadd missing NEWS entry
Ferenc Kovacs [Wed, 17 Dec 2014 01:10:36 +0000 (02:10 +0100)]
add missing NEWS entry

10 years agoMerge branch 'zppFailOnOverflow'
Andrea Faulds [Wed, 17 Dec 2014 01:07:39 +0000 (01:07 +0000)]
Merge branch 'zppFailOnOverflow'

* zppFailOnOverflow:
  Updated or skipped certain 32-bit tests

10 years agoUpdated or skipped certain 32-bit tests
Andrea Faulds [Wed, 17 Dec 2014 01:06:48 +0000 (01:06 +0000)]
Updated or skipped certain 32-bit tests

10 years agoMerge branch 'PHP-5.6'
Ferenc Kovacs [Wed, 17 Dec 2014 01:00:12 +0000 (02:00 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  add NEWS entry for #68594

10 years agoadd NEWS entry for #68594
Ferenc Kovacs [Wed, 17 Dec 2014 00:59:38 +0000 (01:59 +0100)]
add NEWS entry for #68594

10 years ago5.4.37
Stanislav Malyshev [Tue, 16 Dec 2014 19:44:41 +0000 (11:44 -0800)]
5.4.37

10 years agoadd more BC breaks
Stanislav Malyshev [Tue, 16 Dec 2014 19:00:51 +0000 (11:00 -0800)]
add more BC breaks

10 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Tue, 16 Dec 2014 18:25:03 +0000 (10:25 -0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  update news
  add CVE
  add missing test file
  Fix bug #68594 - Use after free vulnerability in unserialize()

Conflicts:
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Tue, 16 Dec 2014 18:19:32 +0000 (10:19 -0800)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  update news
  add CVE
  add missing test file
  Fix bug #68594 - Use after free vulnerability in unserialize()

Conflicts:
ext/standard/var_unserializer.c

10 years agoupdate news
Stanislav Malyshev [Tue, 16 Dec 2014 18:18:07 +0000 (10:18 -0800)]
update news

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Tue, 16 Dec 2014 18:17:07 +0000 (10:17 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  add CVE
  add missing test file
  Fix bug #68594 - Use after free vulnerability in unserialize()

10 years agoadd CVE
Stanislav Malyshev [Tue, 16 Dec 2014 18:16:31 +0000 (10:16 -0800)]
add CVE

10 years agoadd missing test file
Stanislav Malyshev [Fri, 12 Dec 2014 04:52:08 +0000 (20:52 -0800)]
add missing test file

10 years agoFix bug #68594 - Use after free vulnerability in unserialize()
Stanislav Malyshev [Fri, 12 Dec 2014 03:28:32 +0000 (19:28 -0800)]
Fix bug #68594 - Use after free vulnerability in unserialize()

10 years agoOptimize argument passing handlers:
Dmitry Stogov [Tue, 16 Dec 2014 15:40:52 +0000 (18:40 +0300)]
Optimize argument passing handlers:

- predcalculate offsets of passed argument and store it in opline->result.var for ZEND_SEND_*;
- don't update "number of passed arguments" op each ZEND_SEND_* opcode, store it on call frame creation
- Change ZEND_HANDLE_EXCEPTION to determine "number of passed arguments" in incomplete calls fefore freeing

10 years agoFix pcre non-FAST_ZPP build
Andrea Faulds [Tue, 16 Dec 2014 12:45:41 +0000 (12:45 +0000)]
Fix pcre non-FAST_ZPP build

10 years agoC89 fixes
Anatol Belski [Tue, 16 Dec 2014 11:20:29 +0000 (12:20 +0100)]
C89 fixes

10 years agouse portable struct stat
Anatol Belski [Tue, 16 Dec 2014 10:46:06 +0000 (11:46 +0100)]
use portable struct stat

10 years agofixed macro va args expansion for vs
Anatol Belski [Tue, 16 Dec 2014 10:45:02 +0000 (11:45 +0100)]
fixed macro va args expansion for vs

10 years agofix perm again...
Remi Collet [Tue, 16 Dec 2014 09:13:58 +0000 (10:13 +0100)]
fix perm again...

10 years agocleanup uneeded cast
Remi Collet [Tue, 16 Dec 2014 09:06:32 +0000 (10:06 +0100)]
cleanup uneeded cast

10 years agofix bad pointer cast in ext/phar, fix segfault and failed tests (bigendian)
Remi Collet [Tue, 16 Dec 2014 08:31:20 +0000 (09:31 +0100)]
fix bad pointer cast in ext/phar, fix segfault and failed tests (bigendian)

10 years agofix perms
Remi Collet [Tue, 16 Dec 2014 07:38:51 +0000 (08:38 +0100)]
fix perms

10 years agoMerge branch 'PHP-5.6'
Remi Collet [Tue, 16 Dec 2014 07:38:29 +0000 (08:38 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix perms

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Remi Collet [Tue, 16 Dec 2014 07:37:56 +0000 (08:37 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix perms

10 years agofix perms
Remi Collet [Tue, 16 Dec 2014 07:37:08 +0000 (08:37 +0100)]
fix perms

10 years agoPowerPC64 support in safe_address function
Gustavo Frederico Temple Pedrosa [Mon, 15 Dec 2014 12:59:55 +0000 (12:59 +0000)]
PowerPC64 support in safe_address function

Add a ppc64-specific implementation of the safe_address
function with overflow checking.

10 years agoRevert "Removed useless local variable"
Dmitry Stogov [Mon, 15 Dec 2014 22:44:10 +0000 (01:44 +0300)]
Revert "Removed useless local variable"

This reverts commit 44ae32ad55b9ceee9eb980edefcc62df6cff3eef.

It doesn't work properly. We can't access call->scope after free.

10 years agoFix the fix for bug #55415
Stanislav Malyshev [Mon, 15 Dec 2014 19:38:51 +0000 (11:38 -0800)]
Fix the fix for bug #55415

10 years agoadd BC breaks from PHPNG RFC
Stanislav Malyshev [Mon, 15 Dec 2014 19:31:53 +0000 (11:31 -0800)]
add BC breaks from PHPNG RFC

10 years agoadd include for definition of php_url_encode
Stanislav Malyshev [Mon, 15 Dec 2014 19:30:53 +0000 (11:30 -0800)]
add include for definition of php_url_encode

10 years agoRemoved deprecated checks
Dmitry Stogov [Mon, 15 Dec 2014 13:42:28 +0000 (16:42 +0300)]
Removed deprecated checks

10 years agoFix typo
Gustavo Frederico Temple Pedrosa [Mon, 15 Dec 2014 13:11:07 +0000 (13:11 +0000)]
Fix typo

10 years agomade the apache ini holders to be zend_bool
Anatol Belski [Mon, 15 Dec 2014 12:49:46 +0000 (13:49 +0100)]
made the apache ini holders to be zend_bool

since they're documented to be so and we spare 16 byte

10 years agoRemoved useless local variable
Dmitry Stogov [Mon, 15 Dec 2014 11:43:30 +0000 (14:43 +0300)]
Removed useless local variable

10 years agoUse simpler functions
Dmitry Stogov [Mon, 15 Dec 2014 11:43:16 +0000 (14:43 +0300)]
Use simpler functions

10 years agoFixed test
Dmitry Stogov [Mon, 15 Dec 2014 09:52:50 +0000 (12:52 +0300)]
Fixed test

10 years agosmall fixes to UPGRADING
Stanislav Malyshev [Mon, 15 Dec 2014 07:49:24 +0000 (23:49 -0800)]
small fixes to UPGRADING

10 years agoReorder to save alignment size (of course, only for common used structs)
Xinchen Hui [Mon, 15 Dec 2014 06:06:19 +0000 (01:06 -0500)]
Reorder to save alignment size (of course, only for common used structs)

10 years agoSave 8 bytes on 64 bits
Xinchen Hui [Mon, 15 Dec 2014 05:43:28 +0000 (00:43 -0500)]
Save 8 bytes on 64 bits

10 years agoRevert HTTP status codes merger
Andrea Faulds [Mon, 15 Dec 2014 01:30:58 +0000 (01:30 +0000)]
Revert HTTP status codes merger

This reverts commits 65768edcf3ef27a21a07e5e994bfd9ca1cabfa94627b350f31be83eb1d5ac5fad692256dcfaf1281 and 9c18ad3ac9103bc0a6c7b7ab8938fd7272095652.

10 years agofixed tests, bugs in status codes merger
Andrea Faulds [Sun, 14 Dec 2014 23:40:35 +0000 (23:40 +0000)]
fixed tests, bugs in status codes merger

10 years agoFixed bug #55415 (php_info produces invalid anchor names)
Kalle Sommer Nielsen [Sun, 14 Dec 2014 22:09:13 +0000 (23:09 +0100)]
Fixed bug #55415 (php_info produces invalid anchor names)

@@ Slightly based off Johannes' patch

10 years agoNEWS
Kalle Sommer Nielsen [Sun, 14 Dec 2014 21:49:00 +0000 (22:49 +0100)]
NEWS

10 years agoImplement feature request #55467 (phpinfo: PHP Variables with $ and single quotes)
Kalle Sommer Nielsen [Sun, 14 Dec 2014 21:47:58 +0000 (22:47 +0100)]
Implement feature request #55467 (phpinfo: PHP Variables with $ and single quotes)

10 years agoNEWS
Kalle Sommer Nielsen [Sun, 14 Dec 2014 21:32:42 +0000 (22:32 +0100)]
NEWS

10 years agoChange back to use is_int() as function instead of is_integer(), as per Jan Tvrdík...
Kalle Sommer Nielsen [Sun, 14 Dec 2014 21:26:16 +0000 (22:26 +0100)]
Change back to use is_int() as function instead of is_integer(), as per Jan Tvrdík's request @github

10 years agoNEWS
Kalle Sommer Nielsen [Sun, 14 Dec 2014 21:13:07 +0000 (22:13 +0100)]
NEWS

10 years agoChange is_long() to be an alias of is_integer()
Kalle Sommer Nielsen [Sun, 14 Dec 2014 20:57:07 +0000 (21:57 +0100)]
Change is_long() to be an alias of is_integer()

@@ See internals: news.php.net/php.internals/79639
@@ Manual will be updated so that is_int() will be an alias of is_integer()
@@ I picked integer over int for consitentcy as we do not use str instead of string either

10 years agoFix indentation
Andrea Faulds [Sun, 14 Dec 2014 19:20:06 +0000 (19:20 +0000)]
Fix indentation

10 years agoMerge branch 'unify_http'
Andrea Faulds [Sun, 14 Dec 2014 19:18:23 +0000 (19:18 +0000)]
Merge branch 'unify_http'

* unify_http:
  Share HTTP status codes map

10 years agoShare HTTP status codes map
Andrea Faulds [Thu, 6 Nov 2014 17:59:31 +0000 (17:59 +0000)]
Share HTTP status codes map

10 years agoFix bug #67106 split main fpm config
Remi Collet [Sun, 14 Dec 2014 13:23:43 +0000 (14:23 +0100)]
Fix bug #67106 split main fpm config

10 years agosplit fpm config to two parts. PR#903
Elan Ruusamäe [Tue, 18 Nov 2014 21:15:39 +0000 (23:15 +0200)]
split fpm config to two parts. PR#903

main config = global options
secondary config = pool options

makes easier to add new pools:
duplicate pool config in fpm.d dir

https://bugs.php.net/bug.php?id=67106

10 years agoMerge branch 'PHP-5.6'
Remi Collet [Sun, 14 Dec 2014 08:23:25 +0000 (09:23 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix typo

10 years agofix typo
Remi Collet [Sun, 14 Dec 2014 08:22:59 +0000 (09:22 +0100)]
fix typo

10 years agoMerge branch 'PHP-5.6'
Andrea Faulds [Sat, 13 Dec 2014 22:31:20 +0000 (22:31 +0000)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix undefined behaviour in strnatcmp
  update NEWS
  move the test to the right place
  Fixed bug #68545 NULL pointer dereference in unserialize.c

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Andrea Faulds [Sat, 13 Dec 2014 22:30:19 +0000 (22:30 +0000)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix undefined behaviour in strnatcmp
  update NEWS
  move the test to the right place
  Fixed bug #68545 NULL pointer dereference in unserialize.c

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Andrea Faulds [Sat, 13 Dec 2014 22:28:45 +0000 (22:28 +0000)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix undefined behaviour in strnatcmp
  update NEWS
  move the test to the right place
  Fixed bug #68545 NULL pointer dereference in unserialize.c

Conflicts:
NEWS

10 years agoFix undefined behaviour in strnatcmp
Andrea Faulds [Sat, 13 Dec 2014 22:06:27 +0000 (22:06 +0000)]
Fix undefined behaviour in strnatcmp

10 years agoFix undefined behaviour in strnatcmp
Andrea Faulds [Sat, 13 Dec 2014 22:06:27 +0000 (22:06 +0000)]
Fix undefined behaviour in strnatcmp

10 years agoFixed memory leak introduced by 73458e8f
Andrea Faulds [Sat, 13 Dec 2014 21:11:09 +0000 (21:11 +0000)]
Fixed memory leak introduced by 73458e8f

10 years agoMerge branch 'zppFailOnOverflow'
Andrea Faulds [Sat, 13 Dec 2014 18:38:15 +0000 (18:38 +0000)]
Merge branch 'zppFailOnOverflow'

* zppFailOnOverflow:
  Fix MySQLi tests
  Fixed gd test
  Refactor ZEND_LONG_MAX/MIN checks into ZEND_DOUBLE_FITS_LONG()
  Fixed copy-and-paste error
  Fix more 32-bit tests
  Skip buncha tests on 32-bit
  skip simplexml
  skip posix 32-bit
  skip tests on 32-bit
  Fixes simplexml test
  Fixes posix tests
  Fixes iconv tests
  Marked tests as 32-bit
  Fixed more 32-bit tests
  Fixed some 32-bit tests
  Mark said ext/date tests as 32-bit only
  Fixed ext/date tests broken by zpp error on overflow
  Fixed broken tests
  Make zpp fail if NaN passed for int, or out-of-range float for non-capping int

Conflicts:
ext/date/tests/getdate_variation7.phpt
ext/date/tests/localtime_variation3.phpt

10 years agoMerge branch 'PHP-5.6'
Remi Collet [Sat, 13 Dec 2014 08:06:24 +0000 (09:06 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  NEWS
  NEWS
  Fix bug #68601 buffer read overflow in gd_gif_in.c

10 years agoNEWS
Remi Collet [Sat, 13 Dec 2014 08:05:48 +0000 (09:05 +0100)]
NEWS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Remi Collet [Sat, 13 Dec 2014 08:05:33 +0000 (09:05 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  NEWS
  Fix bug #68601 buffer read overflow in gd_gif_in.c

10 years agoNEWS
Remi Collet [Sat, 13 Dec 2014 08:04:57 +0000 (09:04 +0100)]
NEWS

10 years agoFix bug #68601 buffer read overflow in gd_gif_in.c
Remi Collet [Sat, 13 Dec 2014 08:03:44 +0000 (09:03 +0100)]
Fix bug #68601 buffer read overflow in gd_gif_in.c

10 years agoHash value must not zero?
Xinchen Hui [Sat, 13 Dec 2014 03:42:53 +0000 (11:42 +0800)]
Hash value must not zero?

10 years agoFixed compilation warnings
Dmitry Stogov [Fri, 12 Dec 2014 18:57:34 +0000 (21:57 +0300)]
Fixed compilation warnings

10 years agoRemoved unnecessary checks
Dmitry Stogov [Fri, 12 Dec 2014 18:57:12 +0000 (21:57 +0300)]
Removed unnecessary checks

10 years agoMerge branch 'PHP-5.6'
Julien Pauli [Fri, 12 Dec 2014 17:24:29 +0000 (18:24 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  pcntl_signal_dispatch: Speed up by preventing system calls when unnecessary

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Julien Pauli [Fri, 12 Dec 2014 17:24:16 +0000 (18:24 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  pcntl_signal_dispatch: Speed up by preventing system calls when unnecessary

10 years agopcntl_signal_dispatch: Speed up by preventing system calls when unnecessary
Jille Timmermans [Wed, 11 Jun 2014 15:34:34 +0000 (17:34 +0200)]
pcntl_signal_dispatch: Speed up by preventing system calls when unnecessary

10 years agoMerged PR #911.
Julien Pauli [Fri, 5 Dec 2014 04:15:23 +0000 (04:15 +0000)]
Merged PR #911.

10 years agoRemoved ZEND_ACC_FINAL_CLASS which is unnecessary. This also fixed some currently...
Guilherme Blanco [Sat, 22 Nov 2014 04:57:55 +0000 (04:57 +0000)]
Removed ZEND_ACC_FINAL_CLASS which is unnecessary. This also fixed some currently defined classes as final which were just not being considered as such before.

10 years agoUpdated NEWS
Julien Pauli [Fri, 12 Dec 2014 16:02:20 +0000 (17:02 +0100)]
Updated NEWS

10 years agoMerge branch 'PHP-5.6'
Julien Pauli [Fri, 12 Dec 2014 15:51:50 +0000 (16:51 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Updated NEWS
  Updated NEWS
  Fix bug #68532: convert.base64-encode omits padding bytes

10 years agoUpdated NEWS
Julien Pauli [Fri, 12 Dec 2014 15:51:37 +0000 (16:51 +0100)]
Updated NEWS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Julien Pauli [Fri, 12 Dec 2014 15:50:42 +0000 (16:50 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Updated NEWS
  Fix bug #68532: convert.base64-encode omits padding bytes

10 years agoUpdated NEWS
Julien Pauli [Fri, 12 Dec 2014 15:50:32 +0000 (16:50 +0100)]
Updated NEWS

10 years agoFix bug #68532: convert.base64-encode omits padding bytes
mcq8 [Thu, 4 Dec 2014 16:36:44 +0000 (17:36 +0100)]
Fix bug #68532: convert.base64-encode omits padding bytes

10 years agoUpdated NEWS
Julien Pauli [Fri, 12 Dec 2014 15:14:52 +0000 (16:14 +0100)]
Updated NEWS

10 years agoMerge branch 'PHP-5.6'
Julien Pauli [Fri, 12 Dec 2014 15:14:24 +0000 (16:14 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Updated NEWS
  Updated NEWS
  Fixed Bug #65576 (Constructor from trait conflicts with inherited constructor)

Conflicts:
Zend/zend_compile.c

10 years agoUpdated NEWS
Julien Pauli [Fri, 12 Dec 2014 15:12:52 +0000 (16:12 +0100)]
Updated NEWS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Julien Pauli [Fri, 12 Dec 2014 14:07:33 +0000 (15:07 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Updated NEWS
  Fixed Bug #65576 (Constructor from trait conflicts with inherited constructor)

Conflicts:
Zend/zend_compile.c

10 years agoUpdated NEWS
Julien Pauli [Fri, 12 Dec 2014 14:06:04 +0000 (15:06 +0100)]
Updated NEWS