]> granicus.if.org Git - php/log
php
11 years agosave a few memory
Remi Collet [Thu, 19 Dec 2013 09:55:26 +0000 (10:55 +0100)]
save a few memory

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Remi Collet [Thu, 19 Dec 2013 09:54:06 +0000 (10:54 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed Bug #66321 (ZipArchive::open() ze_obj->filename_len not real)

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Remi Collet [Thu, 19 Dec 2013 09:53:50 +0000 (10:53 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed Bug #66321 (ZipArchive::open() ze_obj->filename_len not real)

11 years agoFixed Bug #66321 (ZipArchive::open() ze_obj->filename_len not real)
Remi Collet [Thu, 19 Dec 2013 09:53:38 +0000 (10:53 +0100)]
Fixed Bug #66321 (ZipArchive::open() ze_obj->filename_len not real)

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Michael Wallner [Thu, 19 Dec 2013 09:08:27 +0000 (10:08 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Update NEWS handling section of README.GIT-RULES

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Michael Wallner [Thu, 19 Dec 2013 09:08:06 +0000 (10:08 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Update NEWS handling section of README.GIT-RULES

11 years agoUpdate NEWS handling section of README.GIT-RULES
Michael Wallner [Thu, 19 Dec 2013 09:04:32 +0000 (10:04 +0100)]
Update NEWS handling section of README.GIT-RULES

See http://marc.info/?t=138124004400005&r=1&w=2

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Dmitry Stogov [Wed, 18 Dec 2013 15:21:21 +0000 (19:21 +0400)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed reavlidate_path=1 behavior to avoid caching of symlinks values.

Conflicts:
NEWS

11 years agoFixed reavlidate_path=1 behavior to avoid caching of symlinks values.
Dmitry Stogov [Wed, 18 Dec 2013 15:19:53 +0000 (19:19 +0400)]
Fixed reavlidate_path=1 behavior to avoid caching of symlinks values.

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Tue, 17 Dec 2013 07:45:30 +0000 (08:45 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fixed possibly uninitialized value usage

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Tue, 17 Dec 2013 07:45:07 +0000 (08:45 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fixed possibly uninitialized value usage

11 years agofixed possibly uninitialized value usage
Anatol Belski [Tue, 17 Dec 2013 07:44:22 +0000 (08:44 +0100)]
fixed possibly uninitialized value usage

11 years agoUse memcmp here is better
Xinchen Hui [Tue, 17 Dec 2013 07:37:10 +0000 (15:37 +0800)]
Use memcmp here is better

11 years agoSave one char compare
Xinchen Hui [Tue, 17 Dec 2013 07:09:52 +0000 (15:09 +0800)]
Save one char compare

11 years agoFixed test failed after rev 57c1335f
Xinchen Hui [Tue, 17 Dec 2013 07:05:31 +0000 (15:05 +0800)]
Fixed test failed after rev 57c1335f

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Mon, 16 Dec 2013 19:37:29 +0000 (11:37 -0800)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix bug #65873 - Integer overflow in exif_read_data()

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Mon, 16 Dec 2013 19:35:54 +0000 (11:35 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix bug #65873 - Integer overflow in exif_read_data()

11 years agoFix bug #65873 - Integer overflow in exif_read_data()
Stanislav Malyshev [Sun, 8 Dec 2013 23:37:35 +0000 (15:37 -0800)]
Fix bug #65873 - Integer overflow in exif_read_data()

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
David Soria Parra [Mon, 16 Dec 2013 18:27:51 +0000 (10:27 -0800)]
Merge branch 'PHP-5.5' into PHP-5.6

11 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Dmitry Stogov [Mon, 16 Dec 2013 09:13:29 +0000 (13:13 +0400)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

* 'PHP-5.5' of git.php.net:php-src:
  Fix tests expecting specific resource IDs
  fixed parameter order for zend_throw_exception_ex call
  Fix doc (svn -> git)
  Updated release process

11 years agoMerge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
Dmitry Stogov [Mon, 16 Dec 2013 09:13:18 +0000 (13:13 +0400)]
Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6

* 'PHP-5.6' of git.php.net:php-src:
  Fix tests expecting specific resource IDs
  fixed parameter order for zend_throw_exception_ex call
  Fix doc (svn -> git)
  Test pushing
  Updated release process

11 years agoMerge branch 'PHP-5.6' of https://git.php.net/push/php-src into PHP-5.6
Xinchen Hui [Sun, 15 Dec 2013 08:55:29 +0000 (16:55 +0800)]
Merge branch 'PHP-5.6' of https://git.php.net/push/php-src into PHP-5.6

11 years agoMerge branch 'PHP-5.5' of https://git.php.net/push/php-src into PHP-5.5
Xinchen Hui [Sun, 15 Dec 2013 08:55:11 +0000 (16:55 +0800)]
Merge branch 'PHP-5.5' of https://git.php.net/push/php-src into PHP-5.5

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Xinchen Hui [Sun, 15 Dec 2013 08:51:32 +0000 (16:51 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6

11 years agoFix tests expecting specific resource IDs
Eric Stenson [Fri, 13 Dec 2013 18:42:32 +0000 (10:42 -0800)]
Fix tests expecting specific resource IDs

When Wincache or APC are installed, the resource IDs are not the same.
This is because Wincache takes a few resource objects for itself.  As a
result, these tests become false positives.

On Windows boxes, the microtime precision is not granular enough
to reliably register a difference if two calls to uniqid() are made
concurrently.  This is a fix to the uniqid() test to avoid the false
positive when run on Windows machines.  Also, added a test to exercise
the 'more_entropy' variant of uniqid().

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Sat, 14 Dec 2013 19:47:37 +0000 (20:47 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fixed parameter order for zend_throw_exception_ex call
  Fix doc (svn -> git)

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Sat, 14 Dec 2013 19:46:43 +0000 (20:46 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fixed parameter order for zend_throw_exception_ex call
  Fix doc (svn -> git)

11 years agofixed parameter order for zend_throw_exception_ex call
Anatol Belski [Sat, 14 Dec 2013 19:43:02 +0000 (20:43 +0100)]
fixed parameter order for zend_throw_exception_ex call

11 years agoFix doc (svn -> git)
DQNEO [Fri, 13 Dec 2013 21:20:37 +0000 (23:20 +0200)]
Fix doc (svn -> git)

11 years agoTest pushing
Xinchen Hui [Fri, 13 Dec 2013 13:32:14 +0000 (21:32 +0800)]
Test pushing

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Julien Pauli [Fri, 13 Dec 2013 12:27:45 +0000 (13:27 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Updated release process

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Julien Pauli [Fri, 13 Dec 2013 12:27:19 +0000 (13:27 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Updated release process

11 years agoMerge branch 'PHP-5.3' into PHP-5.4
Julien Pauli [Fri, 13 Dec 2013 12:26:16 +0000 (13:26 +0100)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Updated release process

11 years agoUpdated release process
Julien Pauli [Fri, 13 Dec 2013 12:16:54 +0000 (13:16 +0100)]
Updated release process

11 years agoMerge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
Dmitry Stogov [Fri, 13 Dec 2013 07:17:50 +0000 (11:17 +0400)]
Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6

* 'PHP-5.6' of git.php.net:php-src:
  Use zend_error_noreturn here
  OCI8 build change: Fix source variable definition for C89 compatibility
  Add Tests for #65784 in 5.5
  Disallowed JMP into a finally block.
  Update NEWS for 5.5.7 release
  Fixed bug #65784 (Segfault with finally).

11 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Dmitry Stogov [Fri, 13 Dec 2013 07:16:17 +0000 (11:16 +0400)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

* 'PHP-5.5' of git.php.net:php-src:
  Use zend_error_noreturn here
  Add Tests for #65784 in 5.5
  Disallowed JMP into a finally block.
  Update NEWS for 5.5.7 release

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Xinchen Hui [Fri, 13 Dec 2013 03:37:43 +0000 (11:37 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6

11 years agoUse zend_error_noreturn here
Xinchen Hui [Fri, 13 Dec 2013 02:56:35 +0000 (10:56 +0800)]
Use zend_error_noreturn here

11 years agoOCI8 build change: Fix source variable definition for C89 compatibility
Christopher Jones [Wed, 6 Nov 2013 18:37:22 +0000 (10:37 -0800)]
OCI8 build change: Fix source variable definition for C89 compatibility

11 years agoMerge remote-tracking branch 'origin/PHP-5.5' into PHP-5.6
Xinchen Hui [Thu, 12 Dec 2013 17:48:17 +0000 (01:48 +0800)]
Merge remote-tracking branch 'origin/PHP-5.5' into PHP-5.6

11 years agoMerge remote-tracking branch 'origin/PHP-5.5' into PHP-5.6
Xinchen Hui [Thu, 12 Dec 2013 17:46:28 +0000 (01:46 +0800)]
Merge remote-tracking branch 'origin/PHP-5.5' into PHP-5.6

11 years agoAdd Tests for #65784 in 5.5
Xinchen Hui [Thu, 12 Dec 2013 17:45:45 +0000 (01:45 +0800)]
Add Tests for #65784 in 5.5

11 years agoDisallowed JMP into a finally block.
Xinchen Hui [Thu, 12 Dec 2013 17:44:54 +0000 (01:44 +0800)]
Disallowed JMP into a finally block.

11 years agoUpdate NEWS for 5.5.7 release
Julien Pauli [Thu, 12 Dec 2013 16:15:43 +0000 (17:15 +0100)]
Update NEWS for 5.5.7 release

11 years agoFixed bug #65784 (Segfault with finally).
Xinchen Hui [Thu, 12 Dec 2013 16:15:50 +0000 (00:15 +0800)]
Fixed bug #65784 (Segfault with finally).

11 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Dmitry Stogov [Thu, 12 Dec 2013 12:46:49 +0000 (16:46 +0400)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

* 'PHP-5.5' of git.php.net:php-src:
  fix test

11 years agoMerge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
Dmitry Stogov [Thu, 12 Dec 2013 12:46:37 +0000 (16:46 +0400)]
Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6

* 'PHP-5.6' of git.php.net:php-src:
  fix test

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Michael Wallner [Thu, 12 Dec 2013 11:09:54 +0000 (12:09 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix test

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Michael Wallner [Thu, 12 Dec 2013 11:09:34 +0000 (12:09 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix test

11 years agofix test
Michael Wallner [Thu, 12 Dec 2013 11:08:50 +0000 (12:08 +0100)]
fix test

11 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Dmitry Stogov [Thu, 12 Dec 2013 10:00:03 +0000 (14:00 +0400)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

* 'PHP-5.5' of git.php.net:php-src:
  Fixed bug #65486 mysqli_poll() is broken on Win x64

11 years agoMerge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
Dmitry Stogov [Thu, 12 Dec 2013 09:59:51 +0000 (13:59 +0400)]
Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6

* 'PHP-5.6' of git.php.net:php-src:
  Fixed bug #65486 mysqli_poll() is broken on Win x64

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Dmitry Stogov [Thu, 12 Dec 2013 09:55:23 +0000 (13:55 +0400)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed tests
  Fixed ext/soap/tests/bugs/bug54911.phpt

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Thu, 12 Dec 2013 09:46:21 +0000 (10:46 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #65486 mysqli_poll() is broken on Win x64

11 years agoFixed tests
Dmitry Stogov [Thu, 12 Dec 2013 09:35:37 +0000 (13:35 +0400)]
Fixed tests

11 years agoFixed bug #65486 mysqli_poll() is broken on Win x64
Anatol Belski [Thu, 12 Dec 2013 09:17:01 +0000 (10:17 +0100)]
Fixed bug #65486 mysqli_poll() is broken on Win x64

While this issue is visible in mysqli_poll() functions, the cause
lays deeper in the stream to socket casting API. On Win x64 the
SOCKET datatype is a 64 or 32 bit unsigned, while on Linux/Unix-like
it's 32 bit signed integer. The game of casting 32 bit var to/from
64 bit pointer back and forth is the best way to break it.

Further more, while socket and file descriptors are always integers
on Linux, those are different things using different APIs on Windows.
Even though using integer instead of SOCKET might work on Windows, this
issue might need to be revamped more carefully later. By this time
this patch is tested well with phpt and apps and shows no regressions,
neither in mysqli_poll() nor in any other parts.

11 years agoFixed ext/soap/tests/bugs/bug54911.phpt
Dmitry Stogov [Thu, 12 Dec 2013 09:02:50 +0000 (13:02 +0400)]
Fixed ext/soap/tests/bugs/bug54911.phpt

11 years agofix dir separator in cve-2013-6420 test
Anatol Belski [Wed, 11 Dec 2013 12:31:29 +0000 (13:31 +0100)]
fix dir separator in cve-2013-6420 test

11 years ago5.3.29-dev
Stanislav Malyshev [Tue, 10 Dec 2013 19:32:11 +0000 (11:32 -0800)]
5.3.29-dev

11 years agoFix CVE-2013-6420 - memory corruption in openssl_x509_parse
Stanislav Malyshev [Sun, 8 Dec 2013 19:40:18 +0000 (11:40 -0800)]
Fix CVE-2013-6420 - memory corruption in openssl_x509_parse

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Adam Harvey [Sun, 8 Dec 2013 03:41:44 +0000 (19:41 -0800)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Switch to using freetype-config for freetype detection.

11 years agoAdded one more test for constant scalar expressions
Bob Weinand [Wed, 11 Dec 2013 18:17:07 +0000 (19:17 +0100)]
Added one more test for constant scalar expressions

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Wed, 11 Dec 2013 13:16:07 +0000 (14:16 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  added missing prototype

11 years agoadded missing prototype
Anatol Belski [Wed, 11 Dec 2013 13:15:40 +0000 (14:15 +0100)]
added missing prototype

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Wed, 11 Dec 2013 12:33:37 +0000 (13:33 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix dir separator in cve-2013-6420 test

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Wed, 11 Dec 2013 12:33:16 +0000 (13:33 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix dir separator in cve-2013-6420 test

11 years agoMerge branch 'PHP-5.3' into PHP-5.4
Anatol Belski [Wed, 11 Dec 2013 12:32:49 +0000 (13:32 +0100)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  fix dir separator in cve-2013-6420 test

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Ard Biesheuvel [Wed, 11 Dec 2013 07:51:10 +0000 (08:51 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Ard Biesheuvel [Wed, 11 Dec 2013 07:50:53 +0000 (08:50 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

11 years agoZend: fix overflow handling bug in non-x86 fast_add_function()
Ard Biesheuvel [Tue, 10 Dec 2013 11:07:46 +0000 (12:07 +0100)]
Zend: fix overflow handling bug in non-x86 fast_add_function()

The 'result' argument of fast_add_function() may alias with either
of its operands (or both). Take care not to write to 'result' before
reading op1 and op2.

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Tue, 10 Dec 2013 19:36:06 +0000 (11:36 -0800)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  5.3.29-dev
  Fix CVE-2013-6420 - memory corruption in openssl_x509_parse

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Tue, 10 Dec 2013 19:35:26 +0000 (11:35 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  5.3.29-dev
  Fix CVE-2013-6420 - memory corruption in openssl_x509_parse

11 years agoMerge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
Stanislav Malyshev [Tue, 10 Dec 2013 19:34:45 +0000 (11:34 -0800)]
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4

* 'PHP-5.4' of git.php.net:php-src:
  Fixed Bug #66218 zend_register_functions breaks reflection

11 years agoMerge branch 'PHP-5.3' into PHP-5.4
Stanislav Malyshev [Tue, 10 Dec 2013 19:33:40 +0000 (11:33 -0800)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  5.3.29-dev
  Fix CVE-2013-6420 - memory corruption in openssl_x509_parse

Conflicts:
configure.in
main/php_version.h

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Remi Collet [Tue, 10 Dec 2013 15:10:20 +0000 (16:10 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  NEWS
  Fixed Bug #66218 zend_register_functions breaks reflection

11 years agoNEWS
Remi Collet [Tue, 10 Dec 2013 15:10:02 +0000 (16:10 +0100)]
NEWS

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Remi Collet [Tue, 10 Dec 2013 15:09:41 +0000 (16:09 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed Bug #66218 zend_register_functions breaks reflection

11 years agoFixed Bug #66218 zend_register_functions breaks reflection
Remi Collet [Tue, 10 Dec 2013 15:07:16 +0000 (16:07 +0100)]
Fixed Bug #66218 zend_register_functions breaks reflection

Functions registered using zend_register_functions instead of zend_module_entry.functions are not seen on reflection.

Ex: additional_functions from api_module_entry.
Ex: in CLI, dl, cli_set_process_title and cli_get_process_title

Note:
- also affects functions overrided in extension
  (should be be reported in extension, where overrided, not in original extension)
- also allow extension to call zend_register_functions for various list
  (instead of having a single bug list)

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Dmitry Stogov [Tue, 10 Dec 2013 13:58:22 +0000 (17:58 +0400)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #66112 (Use after free condition in SOAP extension). (martin dot koegler at brz dot gv dot at)

Conflicts:
NEWS

11 years agoFixed bug #66112 (Use after free condition in SOAP extension). (martin dot koegler...
Dmitry Stogov [Tue, 10 Dec 2013 13:57:05 +0000 (17:57 +0400)]
Fixed bug #66112 (Use after free condition in SOAP extension). (martin dot koegler at brz dot gv dot at)

11 years agoFixed bug #66251 (Constants get statically bound at compile time when Optimized)
Dmitry Stogov [Tue, 10 Dec 2013 13:04:17 +0000 (17:04 +0400)]
Fixed bug #66251 (Constants get statically bound at compile time when Optimized)

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Dmitry Stogov [Tue, 10 Dec 2013 12:08:46 +0000 (16:08 +0400)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Revered func_get_args() changes, because they were not completly transparent and broke some tricky PHP code that worked because of luck before php-5.5.6 (see Bug #66107). The changes are going to be kept in PHP-5.6.

11 years agoRevered func_get_args() changes, because they were not completly transparent and...
Dmitry Stogov [Tue, 10 Dec 2013 12:02:59 +0000 (16:02 +0400)]
Revered func_get_args() changes, because they were not completly transparent and broke some tricky PHP code that worked because of luck before php-5.5.6 (see Bug #66107). The changes are going to be kept in PHP-5.6.

11 years agoMerge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
Dmitry Stogov [Tue, 10 Dec 2013 11:16:30 +0000 (15:16 +0400)]
Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6

* 'PHP-5.6' of git.php.net:php-src:
  Zend: fix overflow handling bug in non-x86 fast_add_function()

11 years agoFixed memory leaks introdused by:
Dmitry Stogov [Tue, 10 Dec 2013 11:13:53 +0000 (15:13 +0400)]
Fixed memory leaks introdused by:
commit 611da37617749c81ab22b1e44a0cc1f294cc493a
Author: Igor Wiedler <igor@wiedler.ch>
Date:   Sat Nov 9 13:48:23 2013 -0500

11 years agoZend: fix overflow handling bug in non-x86 fast_add_function()
Ard Biesheuvel [Tue, 10 Dec 2013 11:07:46 +0000 (12:07 +0100)]
Zend: fix overflow handling bug in non-x86 fast_add_function()

The 'result' argument of fast_add_function() may alias with either
of its operands (or both). Take care not to write to 'result' before
reading op1 and op2.

11 years agoFixed bug #66252 (Problems in AST evaluation invalidating valid parent:: reference...
Dmitry Stogov [Tue, 10 Dec 2013 10:19:17 +0000 (14:19 +0400)]
Fixed bug #66252 (Problems in AST evaluation invalidating valid parent:: reference. Constant expessions have to be evaluated in context of defining class).

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Dmitry Stogov [Tue, 10 Dec 2013 09:03:09 +0000 (13:03 +0400)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Arguments passed to user function have to be properly allocated on heap

11 years agoArguments passed to user function have to be properly allocated on heap
Dmitry Stogov [Tue, 10 Dec 2013 09:00:45 +0000 (13:00 +0400)]
Arguments passed to user function have to be properly allocated on heap

11 years agocli: don't cast away const in select() timeout argument
Ard Biesheuvel [Mon, 9 Dec 2013 15:54:42 +0000 (16:54 +0100)]
cli: don't cast away const in select() timeout argument

The timeout argument to select() is modified to reflect the time
remaining when the function returns on a non-timeout condition.
Passing a pointer to const data and casting away the const-ness is
asking for trouble, but for some reason, this trouble manifests
itself only on non-x86 architectures [whose implementation of select()
in glibc is different from the one supplied for x86]

Fix this by passing a stack copy of the timeout argument to select()

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Sun, 8 Dec 2013 23:53:41 +0000 (15:53 -0800)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Replace invalid code with a proper #error

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Sun, 8 Dec 2013 23:50:08 +0000 (15:50 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Replace invalid code with a proper #error

11 years agoReplace invalid code with a proper #error
Lior Kaplan [Fri, 4 Oct 2013 21:31:16 +0000 (23:31 +0200)]
Replace invalid code with a proper #error

This code creates a nasty error as mentioned in bugs #31131, #37062
Patch taken from Debian's PHP package: 044-strtod_arm_fix

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Adam Harvey [Sun, 8 Dec 2013 03:41:23 +0000 (19:41 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Switch to using freetype-config for freetype detection.

11 years agoSwitch to using freetype-config for freetype detection.
Adam Harvey [Sun, 8 Dec 2013 03:39:40 +0000 (19:39 -0800)]
Switch to using freetype-config for freetype detection.

This fixes GD compilation against libfreetype 2.5.1 and later after they made
the rather interesting decision to change their include directory layout in a
point release.

The original suggestion in the bug was to use pkg-config, but my inclination is
to use freetype-config instead: we should be able to get the same configuration
information without actually needing pkg-config installed, since pkg-config is
by no means guaranteed to exist on many Unices and distros, whereas
freetype-config should always be present if a libfreetype build environment is
installed. Let's try it out and see what happens.

Fixes bug #64405 (Use freetype-config for determining freetype2 dir(s)).

11 years agoMerge branch 'igorw-use-function' into PHP-5.6
Ferenc Kovacs [Fri, 6 Dec 2013 10:06:41 +0000 (11:06 +0100)]
Merge branch 'igorw-use-function' into PHP-5.6

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Michael Wallner [Fri, 6 Dec 2013 09:39:10 +0000 (10:39 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  BFN

11 years agoBFN
Michael Wallner [Fri, 6 Dec 2013 09:39:02 +0000 (10:39 +0100)]
BFN

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Michael Wallner [Fri, 6 Dec 2013 09:33:47 +0000 (10:33 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #61645 (fopen and O_NONBLOCK)
  fix possibly uninitialized value

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Michael Wallner [Fri, 6 Dec 2013 09:33:10 +0000 (10:33 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed bug #61645 (fopen and O_NONBLOCK)
  fix possibly uninitialized value