]> granicus.if.org Git - php/log
php
7 years agoDo not add already added object to the internal OpenSSL table
Jakub Zelenka [Wed, 3 Aug 2016 19:01:41 +0000 (20:01 +0100)]
Do not add already added object to the internal OpenSSL table

This fixes OpenSSL 1.1 where adding object with OID that has been
already added causes an error - preventing of duplication.

7 years agorely on bundle config, instead of system one
Remi Collet [Wed, 26 Apr 2017 12:41:40 +0000 (14:41 +0200)]
rely on bundle config, instead of system one

7 years agoskip the test on OpenSSL < 1.1 for now
Anatol Belski [Thu, 23 Mar 2017 02:09:30 +0000 (03:09 +0100)]
skip the test on OpenSSL < 1.1 for now

7 years agomove next
Anatol Belski [Tue, 25 Apr 2017 12:06:17 +0000 (14:06 +0200)]
move next

7 years ago[ci skip] update NEWS
Anatol Belski [Tue, 25 Apr 2017 11:59:20 +0000 (13:59 +0200)]
[ci skip] update NEWS

7 years agoFollow up patch regarding bug #74216, see bug #74429
Sara Golemon [Tue, 25 Apr 2017 10:52:48 +0000 (12:52 +0200)]
Follow up patch regarding bug #74216, see bug #74429

While the case in bug #74429 is not documented and is only worky due to
an implementation bug, the strength seems to breach some real world
apps. Given this patch doesn't impact the initial security fix for
bug #74216, it is reasonable to let the apps keep working. As mentioned
in the ticket, this behavior is a subject to change in future versions
and should not be abused.

7 years agodon't backup older deps after upgrades
Anatol Belski [Mon, 24 Apr 2017 20:10:32 +0000 (22:10 +0200)]
don't backup older deps after upgrades

7 years agoupdate SDK version for AppVeyor
Anatol Belski [Mon, 24 Apr 2017 20:08:45 +0000 (22:08 +0200)]
update SDK version for AppVeyor

7 years agoFix bug #73833 (null character not allowed in openssl_pkey_get_private)
Jakub Zelenka [Mon, 24 Apr 2017 16:11:36 +0000 (17:11 +0100)]
Fix bug #73833 (null character not allowed in openssl_pkey_get_private)

7 years agoSupport also no,shared configure arg vals by default
Anatol Belski [Mon, 24 Apr 2017 13:46:22 +0000 (15:46 +0200)]
Support also no,shared configure arg vals by default

This indirectly fixes bug #74398 where --with-extname is expected to be
configured shared with our default dependency package. With a non
default deps, it still can be enforced --with-extname=static

7 years agoAdd missing NEWS entries for 7.0.19
Jakub Zelenka [Sun, 23 Apr 2017 20:03:35 +0000 (21:03 +0100)]
Add missing NEWS entries for 7.0.19

7 years agoextend zlib export required for the recent libpng
Anatol Belski [Sun, 23 Apr 2017 19:27:34 +0000 (21:27 +0200)]
extend zlib export required for the recent libpng

7 years agoFix bug #73711 (Segfault in openssl_pkey_new when generating DSA or DH key)
Jakub Zelenka [Sun, 23 Apr 2017 19:30:14 +0000 (20:30 +0100)]
Fix bug #73711 (Segfault in openssl_pkey_new when generating DSA or DH key)

7 years ago[ci skip] update NEWS
Anatol Belski [Sat, 22 Apr 2017 20:39:59 +0000 (22:39 +0200)]
[ci skip] update NEWS

7 years ago#74337 pointer returned by php_stream_fopen_tmpfile not validated in memory.c
Anton Serbulov [Fri, 14 Apr 2017 08:26:13 +0000 (15:26 +0700)]
#74337 pointer returned by php_stream_fopen_tmpfile not validated in memory.c

7 years agoAvoid exact floating point comparison
Steve Walk [Tue, 18 Apr 2017 15:43:03 +0000 (08:43 -0700)]
Avoid exact floating point comparison

7 years agoUpdate php_network.h
Alexander Ilyin [Tue, 18 Apr 2017 09:44:34 +0000 (02:44 -0700)]
Update php_network.h

```
In file included from /usr/local/include/php/main/php_network.h:124:0,
                 from /var/www/html/php-ext-handlersocketi-0.0.1/hs_response.c:3:
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
 #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
  ^
```

7 years agoext/gettext: respect passed in library directory for all checks
Michael Heimpold [Thu, 13 Apr 2017 20:43:26 +0000 (22:43 +0200)]
ext/gettext: respect passed in library directory for all checks

A directory given to configure by --with-gettext=dir is only
used within the very first AC_CHECK_LIB. This is because the
temporary modified LDFLAGS variable is reset too early.

This results in functions not detected properly.

The original issue and patch was reported for OpenWrt/LEDE
distribution by @Dimazhan at:
https://github.com/openwrt/packages/issues/4250

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
7 years agoFixed bug #74080 Add datetime constant for RFC7231
Craig Duncan [Sat, 1 Apr 2017 16:56:31 +0000 (17:56 +0100)]
Fixed bug #74080 Add datetime constant for RFC7231

7 years agoFixed bug #74439 Wrong reflection on the Locale methods
Fabien Villepinte [Fri, 14 Apr 2017 12:08:26 +0000 (14:08 +0200)]
Fixed bug #74439 Wrong reflection on the Locale methods

7 years ago[ci skip] update NEWS
Anatol Belski [Sun, 16 Apr 2017 12:54:19 +0000 (14:54 +0200)]
[ci skip] update NEWS

7 years agoimprove/fix error handling
Anatol Belski [Sat, 15 Apr 2017 17:30:30 +0000 (19:30 +0200)]
improve/fix error handling

GetLastError() should not be called, if the function didn't fail.

7 years agofix error handling
Anatol Belski [Sat, 15 Apr 2017 16:14:25 +0000 (18:14 +0200)]
fix error handling

7 years agoImprove accuracy of opline lineno information
Nikita Popov [Sat, 15 Apr 2017 16:06:42 +0000 (18:06 +0200)]
Improve accuracy of opline lineno information

If compile_var() was used instead of compile_expr() we did not
update the current lineno.

7 years agoFix compact_literals of INIT_METHOD_CALL with CONST op1
Nikita Popov [Sat, 15 Apr 2017 10:35:09 +0000 (12:35 +0200)]
Fix compact_literals of INIT_METHOD_CALL with CONST op1

7 years agoAdd support for MySQL 8's Unicode types
Johannes Schlüter [Fri, 14 Apr 2017 14:30:10 +0000 (16:30 +0200)]
Add support for MySQL 8's Unicode types

7 years agoFixed bug #74433 Wrong reflection on the Normalizer methods
Fabien Villepinte [Thu, 13 Apr 2017 11:25:13 +0000 (13:25 +0200)]
Fixed bug #74433 Wrong reflection on the Normalizer methods

7 years agoNEWS
Remi Collet [Thu, 13 Apr 2017 05:10:37 +0000 (07:10 +0200)]
NEWS

7 years agoFixed bug #74416 Wrong reflection on DOMNode::cloneNode
Fabien Villepinte [Tue, 11 Apr 2017 15:26:03 +0000 (17:26 +0200)]
Fixed bug #74416 Wrong reflection on DOMNode::cloneNode

7 years agoFixed uninitialized data causing random crash (Dmitry)
Christopher Jones [Wed, 12 Apr 2017 04:02:46 +0000 (14:02 +1000)]
Fixed uninitialized data causing random crash (Dmitry)

7 years agoAdd missing NEWS
Christopher Jones [Wed, 12 Apr 2017 03:23:19 +0000 (13:23 +1000)]
Add missing NEWS

7 years agoFix misleading typo in identifiers
Anatol Belski [Tue, 11 Apr 2017 11:48:04 +0000 (13:48 +0200)]
Fix misleading typo in identifiers

7 years agofixed bug #74413 wrong reflection on SQLite3::enableExceptions
Joe Watkins [Tue, 11 Apr 2017 11:13:21 +0000 (12:13 +0100)]
fixed bug #74413 wrong reflection on SQLite3::enableExceptions

7 years agoFixed bug #74408 (Endless loop bypassing execution time limit)
Xinchen Hui [Tue, 11 Apr 2017 10:46:16 +0000 (18:46 +0800)]
Fixed bug #74408 (Endless loop bypassing execution time limit)

7 years agofix re2c version comparison
Anatol Belski [Tue, 11 Apr 2017 08:59:45 +0000 (10:59 +0200)]
fix re2c version comparison

7 years agoFix #74410 by calling WaitForMultipleObjects() instead of
Matt Ficken [Tue, 11 Apr 2017 08:54:57 +0000 (01:54 -0700)]
Fix #74410 by calling WaitForMultipleObjects() instead of
MsgWaitForMultipleObjects()

7 years agoFix bug #74409
Sebastian Bergmann [Tue, 11 Apr 2017 06:27:17 +0000 (08:27 +0200)]
Fix bug #74409

7 years agoForgot to commit test file...
Nikita Popov [Mon, 10 Apr 2017 20:26:14 +0000 (22:26 +0200)]
Forgot to commit test file...

7 years agoFix JMPZ+JMP => NOP+JMP optimization
Nikita Popov [Mon, 10 Apr 2017 20:09:34 +0000 (22:09 +0200)]
Fix JMPZ+JMP => NOP+JMP optimization

7 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Joe Watkins [Mon, 10 Apr 2017 11:51:17 +0000 (12:51 +0100)]
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 bug #74402 (segfault on random_bytes, bin2hex, openssl_seal)

7 years agoFixed bug #74404 (wrong reflection on DateTimeZone::getTransitions)
Joe Watkins [Mon, 10 Apr 2017 11:48:51 +0000 (12:48 +0100)]
Fixed bug #74404 (wrong reflection on DateTimeZone::getTransitions)

7 years agoFixed bug #74402 (segfault on random_bytes, bin2hex, openssl_seal)
Xinchen Hui [Mon, 10 Apr 2017 11:02:50 +0000 (19:02 +0800)]
Fixed bug #74402 (segfault on random_bytes, bin2hex, openssl_seal)

7 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Joe Watkins [Mon, 10 Apr 2017 07:07:24 +0000 (08:07 +0100)]
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 condition check
  Fixed issue #2466 Invalid integer constant expression error in php.h

7 years agoFixed bug #74400 (phpdbg comparing socket function to int)
Joe Watkins [Mon, 10 Apr 2017 07:05:31 +0000 (08:05 +0100)]
Fixed bug #74400 (phpdbg comparing socket function to int)

7 years agoFixed condition check
Xinchen Hui [Mon, 10 Apr 2017 06:47:24 +0000 (14:47 +0800)]
Fixed condition check

7 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Xinchen Hui [Mon, 10 Apr 2017 06:41:29 +0000 (14:41 +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:
  fix news
  Fix of Bug #74383: Wrong reflection on Phar::running

7 years agoFixed issue #2466 Invalid integer constant expression error in php.h
Xinchen Hui [Mon, 10 Apr 2017 06:40:44 +0000 (14:40 +0800)]
Fixed issue #2466 Invalid integer constant expression error in php.h

7 years agofix news
Joe Watkins [Mon, 10 Apr 2017 05:44:20 +0000 (06:44 +0100)]
fix news

7 years agoFix of Bug #74383: Wrong reflection on Phar::running
Mitch Hagstrand [Sun, 9 Apr 2017 22:30:35 +0000 (15:30 -0700)]
Fix of Bug #74383: Wrong reflection on Phar::running

7 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Xinchen Hui [Mon, 10 Apr 2017 03:49:44 +0000 (11:49 +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:
  Add NEWS
  Resolve bug #74188 (undefined statics raising with ?? operator)
  Fixed bug #72071: Prevent Max-Age from being negative
  Update NEWS with OpenSSL 1.1.0 support info
  Add OpenSSL 1.1.0 support to PHP 7.0

7 years agoFixed bug #74379 (syntax error compile error in libmagic/apprentice.c)
Xinchen Hui [Mon, 10 Apr 2017 03:44:41 +0000 (11:44 +0800)]
Fixed bug #74379 (syntax error compile error in libmagic/apprentice.c)

7 years agoMissed NEWS
Xinchen Hui [Mon, 10 Apr 2017 03:22:08 +0000 (11:22 +0800)]
Missed NEWS

7 years agoAdd NEWS
Nikita Popov [Sun, 9 Apr 2017 13:52:37 +0000 (15:52 +0200)]
Add NEWS

7 years agoResolve bug #74188 (undefined statics raising with ?? operator)
Thomas Punt [Sat, 1 Apr 2017 14:37:48 +0000 (15:37 +0100)]
Resolve bug #74188 (undefined statics raising with ?? operator)

7 years agoFixed bug #72071: Prevent Max-Age from being negative
Craig Duncan [Mon, 3 Apr 2017 11:31:26 +0000 (12:31 +0100)]
Fixed bug #72071: Prevent Max-Age from being negative

7 years agoUpdate NEWS with OpenSSL 1.1.0 support info
Jakub Zelenka [Fri, 7 Apr 2017 18:27:25 +0000 (19:27 +0100)]
Update NEWS with OpenSSL 1.1.0 support info

7 years agoAdd OpenSSL 1.1.0 support to PHP 7.0
Jakub Zelenka [Fri, 7 Apr 2017 18:20:11 +0000 (19:20 +0100)]
Add OpenSSL 1.1.0 support to PHP 7.0

7 years agoFix invalid free of persistent results on error/connection loss in mysqlnd (bug 74376)
Yussuf Khalil [Wed, 5 Apr 2017 18:57:03 +0000 (20:57 +0200)]
Fix invalid free of persistent results on error/connection loss in mysqlnd (bug 74376)

7 years agoRevert "extend skip section"
Anatol Belski [Tue, 4 Apr 2017 14:21:23 +0000 (16:21 +0200)]
Revert "extend skip section"

This reverts commit 51360480649628a58b4c06940b6c4ad49ff31186.

This is not needed anymore wrt dst handling fix

7 years agofix possible out of bounds buffer access
Anatol Belski [Mon, 3 Apr 2017 13:20:32 +0000 (15:20 +0200)]
fix possible out of bounds buffer access

7 years agoFix opcache.max_accelerated_files doc in php.ini
Martin Hujer [Sat, 1 Apr 2017 14:33:44 +0000 (16:33 +0200)]
Fix opcache.max_accelerated_files doc in php.ini

As stated in docs: https://secure.php.net/manual/en/opcache.configuration.php#ini.opcache.max-accelerated-files, the maximum is now 1000000
> The maximum value is 100000 in PHP < 5.5.6, and 1000000 in later versions.

7 years agoFixed bug #74341
Moritz Fain [Thu, 30 Mar 2017 14:20:52 +0000 (16:20 +0200)]
Fixed bug #74341

Added support for ASN.1 UTCTime without seconds part (being 11 characters
long instead of 13).

Additionally, fixed incorrect handling of DST on systems without gmtoff.

7 years agoupdate sdk version for appveyor
Anatol Belski [Thu, 30 Mar 2017 23:42:46 +0000 (01:42 +0200)]
update sdk version for appveyor

7 years agofix bug #74343 compile fails on solaris 11 with system libgd
Joe Watkins [Thu, 30 Mar 2017 15:27:40 +0000 (16:27 +0100)]
fix bug #74343 compile fails on solaris 11 with system libgd

7 years agoDisable block pass for large functions
Nikita Popov [Fri, 17 Mar 2017 11:48:03 +0000 (12:48 +0100)]
Disable block pass for large functions

(Backport of 7ea261685f179a7cddcc4196fc7f3f12572c3d49 to 7.0.)

7 years agoupdate NEWS
Anatol Belski [Tue, 28 Mar 2017 11:12:27 +0000 (13:12 +0200)]
update NEWS

7 years agoRevert "Fixed bug #61471"
Anatol Belski [Tue, 28 Mar 2017 11:06:38 +0000 (13:06 +0200)]
Revert "Fixed bug #61471"

This reverts commit 80c8d84af303d2fddc9ba9f181c7117b9040811d.

7 years agoprepare next
Anatol Belski [Tue, 28 Mar 2017 09:49:04 +0000 (11:49 +0200)]
prepare next

7 years agoupdate NEWS
Anatol Belski [Tue, 28 Mar 2017 09:43:02 +0000 (11:43 +0200)]
update NEWS

7 years agodeps updated, cherry-pick 88642decf9ab59d206db515990886b0761bfa835
Anatol Belski [Mon, 27 Mar 2017 17:38:20 +0000 (19:38 +0200)]
deps updated, cherry-pick 88642decf9ab59d206db515990886b0761bfa835

7 years agoadd test for bug #74230
Anatol Belski [Mon, 27 Mar 2017 17:33:51 +0000 (19:33 +0200)]
add test for bug #74230

7 years agoForgot to update the output in the test too
Derick Rethans [Mon, 27 Mar 2017 17:01:22 +0000 (18:01 +0100)]
Forgot to update the output in the test too

7 years agoalways use staging deps for CI, that's what we have a CI for as well
Anatol Belski [Mon, 27 Mar 2017 16:07:16 +0000 (18:07 +0200)]
always use staging deps for CI, that's what we have a CI for as well

7 years agoFixed test for #33415 due to data fixes.
Derick Rethans [Mon, 27 Mar 2017 10:28:16 +0000 (11:28 +0100)]
Fixed test for #33415 due to data fixes.

7 years agoUpdated to version 2017.2 (2017b)
Derick Rethans [Fri, 24 Mar 2017 12:25:25 +0000 (12:25 +0000)]
Updated to version 2017.2 (2017b)

7 years agoFix sequencing UB
Nikita Popov [Thu, 23 Mar 2017 21:48:45 +0000 (22:48 +0100)]
Fix sequencing UB

7 years agoFix lineno for AST_ZVAL nodes
Nikita Popov [Thu, 23 Mar 2017 21:42:57 +0000 (22:42 +0100)]
Fix lineno for AST_ZVAL nodes

7 years agoFix bug where `yield from` is captured too greedily
Sara Golemon [Thu, 23 Mar 2017 19:27:33 +0000 (12:27 -0700)]
Fix bug where `yield from` is captured too greedily

In the following piece of code:

```php
function from1234($x) {
  return $x;
}
function foo($x) {
  yield from1234($x);
}
```

The statement inside foo is taken as `yield from` `1234($x)`
which is neither the intent, nor even legal syntax for an fcall.

Do a lookahead for breaking non-label characters after the
`yield from` and only accept it if they occur.

7 years agoFixed uninitialized data
Dmitry Stogov [Thu, 23 Mar 2017 15:59:27 +0000 (18:59 +0300)]
Fixed uninitialized data

7 years agoadjust deps dir naming scheme
Anatol Belski [Thu, 23 Mar 2017 12:00:14 +0000 (13:00 +0100)]
adjust deps dir naming scheme

not principal, just to have it same way as everywhere

7 years agoexplicitly ignore php.ini for proc open tests
Anatol Belski [Tue, 21 Mar 2017 11:39:40 +0000 (12:39 +0100)]
explicitly ignore php.ini for proc open tests

In some cases, when an environment is unclean, tests might get stuck fe
when some incorrect ini file is loaded. As the test depends on the core
only, it is safer to explicitly ignore the ini. Any ini can be passed in
the cmd itself, if needed.

7 years agoLower timeout in test for but #72333
Jakub Zelenka [Mon, 20 Mar 2017 16:07:12 +0000 (16:07 +0000)]
Lower timeout in test for but #72333

7 years agoFix bug #74265
Nikita Popov [Fri, 17 Mar 2017 19:19:40 +0000 (20:19 +0100)]
Fix bug #74265

7 years agoMake test 002 for bug #65538 not to use https in cafile
Jakub Zelenka [Fri, 17 Mar 2017 19:07:32 +0000 (19:07 +0000)]
Make test 002 for bug #65538 not to use https in cafile

7 years agoConsume data by server in test for bug #72333
Jakub Zelenka [Fri, 17 Mar 2017 18:11:50 +0000 (18:11 +0000)]
Consume data by server in test for bug #72333

Client should be able to write more data and prevent time out

7 years agoFix AST start lineno for list nodes
Nikita Popov [Fri, 17 Mar 2017 12:34:18 +0000 (13:34 +0100)]
Fix AST start lineno for list nodes

If the node is initialized with children, check if a child has a
lower start lineno, similar to what we do for fixed-sized nodes
as well.

7 years agoMake test for bug #72333 a bit more reliable
Jakub Zelenka [Thu, 16 Mar 2017 18:11:56 +0000 (18:11 +0000)]
Make test for bug #72333 a bit more reliable

7 years agoReturn FALSE if error_log fails to write all bytes
Adam Saponara [Thu, 9 Mar 2017 19:27:01 +0000 (14:27 -0500)]
Return FALSE if error_log fails to write all bytes

7 years agoFixed bug #74240 (deflate_add can allocate too much memory)
Matt Bonneau [Mon, 13 Mar 2017 04:11:30 +0000 (00:11 -0400)]
Fixed bug #74240 (deflate_add can allocate too much memory)

7 years agoFix stream context changes leaking into copies of previous context
Bob Weinand [Tue, 14 Mar 2017 21:15:41 +0000 (22:15 +0100)]
Fix stream context changes leaking into copies of previous context

7 years agoMerge branch 'bug72333' into PHP-7.0
Jakub Zelenka [Tue, 14 Mar 2017 18:43:39 +0000 (18:43 +0000)]
Merge branch 'bug72333' into PHP-7.0

7 years agoReplace NEWS entry for #74159 with #72333
Jakub Zelenka [Tue, 14 Mar 2017 18:41:23 +0000 (18:41 +0000)]
Replace NEWS entry for #74159 with #72333

The #74159 is duplicate

7 years agoSkip bug74159 test for OpenSSL lower than 1.0.1
Jakub Zelenka [Mon, 13 Mar 2017 21:05:09 +0000 (21:05 +0000)]
Skip bug74159 test for OpenSSL lower than 1.0.1

7 years agoTidy up test for bug72333
Jakub Zelenka [Sat, 11 Mar 2017 19:38:26 +0000 (19:38 +0000)]
Tidy up test for bug72333

7 years agoSpeed up test for bug72333
Jakub Zelenka [Wed, 8 Mar 2017 19:49:39 +0000 (19:49 +0000)]
Speed up test for bug72333

It reliably fails without the xp_ssl.c so it is good with smaller usleep

7 years agoFix indent and add comment
Jakub Zelenka [Wed, 8 Mar 2017 19:38:54 +0000 (19:38 +0000)]
Fix indent and add comment

7 years agoTidy up setting of SSL_MODE_RELEASE_BUFFERS
Jakub Zelenka [Wed, 8 Mar 2017 19:30:02 +0000 (19:30 +0000)]
Tidy up setting of SSL_MODE_RELEASE_BUFFERS

7 years agoRemove extra SSL mode settings
Jakub Zelenka [Mon, 6 Mar 2017 19:43:25 +0000 (19:43 +0000)]
Remove extra SSL mode settings

7 years agoFix bug #72333 (fwrite() on non-blocking SSL sockets does not work)
Jakub Zelenka [Sun, 22 Jan 2017 20:44:29 +0000 (20:44 +0000)]
Fix bug #72333 (fwrite() on non-blocking SSL sockets does not work)

7 years agoupdate binary sdk tools version for appveyor
Anatol Belski [Mon, 13 Mar 2017 11:31:31 +0000 (12:31 +0100)]
update binary sdk tools version for appveyor