]>
granicus.if.org Git - php/log
Anatol Belski [Mon, 24 Jul 2017 14:24:04 +0000 (16:24 +0200)]
Followup on
0ec147d3 for another place
which requires also to move the macros into the header
Anatol Belski [Mon, 24 Jul 2017 13:43:48 +0000 (15:43 +0200)]
Ensure binary mode for OpenSSL I/O
Essential for OpenSSL 1.1.0 on Windows, some issues was revealed earlier
and now by openssl_pkcs12_export_to_file_basic.phpt.
Anatol Belski [Mon, 24 Jul 2017 12:47:32 +0000 (14:47 +0200)]
Combine conditions for the automatic interactive console activation
as with bug #74979 it seems to have regressions which were not
present before.
Frank Denis [Mon, 24 Jul 2017 12:26:05 +0000 (14:26 +0200)]
sodium ext: don't reinvent sodium_increment() and sodium_add()
Joe Watkins [Mon, 24 Jul 2017 09:47:02 +0000 (10:47 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
openssl: Add openssl_pkcs12_export_to_file tests
Joe Watkins [Mon, 24 Jul 2017 09:46:52 +0000 (10:46 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
openssl: Add openssl_pkcs12_export_to_file tests
Jelle van der Waa [Sat, 22 Jul 2017 20:40:10 +0000 (22:40 +0200)]
openssl: Add openssl_pkcs12_export_to_file tests
Add basic tests for openssl_pkcs12_export_to_file.
Issei.M [Sun, 23 Jul 2017 14:08:49 +0000 (23:08 +0900)]
Fix typo in UPGRADING for 7.2
Joe Watkins [Mon, 24 Jul 2017 09:42:48 +0000 (10:42 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Update PHP 5 version to 7 in header comments
Joe Watkins [Mon, 24 Jul 2017 09:42:35 +0000 (10:42 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Update PHP 5 version to 7 in header comments
Peter Kokot [Sun, 23 Jul 2017 14:39:30 +0000 (16:39 +0200)]
Update PHP 5 version to 7 in header comments
Sara Golemon [Sun, 23 Jul 2017 19:14:31 +0000 (15:14 -0400)]
Add hash_hmac_algos() for filtered is_crypto methods
Nikita Popov [Sun, 23 Jul 2017 14:05:39 +0000 (16:05 +0200)]
Update Unicode data for Unicode 10
Nikita Popov [Sun, 23 Jul 2017 14:03:11 +0000 (16:03 +0200)]
Update ucgendat for more bidi properties
Handle them the same way as others -- by classifying as Other
Neutral.
Nikita Popov [Sun, 23 Jul 2017 13:30:17 +0000 (15:30 +0200)]
Fixed bug #69267 completely
ucgendat.c was assuming that a title-case character is a character
that has both lower and upper-case variants. However, there are
title-case characters that only have a lower-case variant. Use the
Lt general character proprety to determine where in the case map
the character should be placed instead.
Nikita Popov [Sun, 23 Jul 2017 13:00:26 +0000 (15:00 +0200)]
Another fix for bug #69267
mb_strtoupper() was converting lowercase characters into
titlecase characters, instead of uppercase characters. Luckily
there are only very few characters with a distinct titlecase
representation, so this mostly worked out okay...
Nikita Popov [Sun, 23 Jul 2017 12:47:21 +0000 (14:47 +0200)]
Partial fix for bug #69267
This pulls in
60a25c72ba389f53b0621ca250bc99f3b295d43f from the
OpenLDAP project.
Nikita Popov [Sun, 23 Jul 2017 10:21:25 +0000 (12:21 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Sun, 23 Jul 2017 10:19:56 +0000 (12:19 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Sat, 30 Jul 2016 14:58:43 +0000 (16:58 +0200)]
Fix #71606: Segmentation fault mb_strcut with HTML-ENTITIES
The HTML decoding filter uses the `opaque` member of mbfl_convert_filter
as buffer, but there was no copy constructor defined, what caused double
frees when the filter is copied (what happens multiple times in mb_strcut(),
for instance).
Nikita Popov [Sun, 23 Jul 2017 09:55:00 +0000 (11:55 +0200)]
Fix use after free in mb_send_mail
Anatol Belski [Sun, 23 Jul 2017 09:08:11 +0000 (11:08 +0200)]
fix skipif
Sara Golemon [Sun, 23 Jul 2017 01:33:28 +0000 (21:33 -0400)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Use compatability zend_isnan() instead of POSIX isnan()
Sara Golemon [Sun, 23 Jul 2017 01:33:20 +0000 (21:33 -0400)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Use compatability zend_isnan() instead of POSIX isnan()
Sara Golemon [Sun, 23 Jul 2017 01:28:43 +0000 (21:28 -0400)]
Use compatability zend_isnan() instead of POSIX isnan()
s/isnan/zend_isnan/g
Sara Golemon [Sun, 23 Jul 2017 01:23:29 +0000 (21:23 -0400)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix compile-time optimization of NAN comparisons
Sara Golemon [Sun, 23 Jul 2017 01:23:17 +0000 (21:23 -0400)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fix compile-time optimization of NAN comparisons
Sara Golemon [Sun, 23 Jul 2017 00:58:54 +0000 (20:58 -0400)]
Fix compile-time optimization of NAN comparisons
Frank Denis [Sat, 22 Jul 2017 20:07:53 +0000 (22:07 +0200)]
sodium ext: require libsodium >= 1.0.8
(but really, 1.0.9 should be the bare minimum)
Frank Denis [Sat, 22 Jul 2017 17:57:44 +0000 (19:57 +0200)]
sodium ext: define crypto_aead_chacha20poly1305_ietf_KEYBYTES if needed
Some old libsodium versions didn't had a dedicated constant for the
IETF version of this construction.
Frank Denis [Sat, 22 Jul 2017 15:49:32 +0000 (17:49 +0200)]
sodium ext: remove redundant and obsolete macros
Nikita Popov [Sat, 22 Jul 2017 15:21:48 +0000 (17:21 +0200)]
Fix incorrect propagation of ZEND_BOOL in pass 1
BOOL (next to QM_ASSIGN) is one of the opcodes that can assign to
a temporary that is assigned in multiple branches. Pass 1 does
not check for this, so we should not try to handle it at that
point. Block pass and sccp will be able to treat this correctly.
Nikita Popov [Sat, 22 Jul 2017 12:53:23 +0000 (14:53 +0200)]
Fix block removal if there are duplicate successors
Anatol Belski [Sat, 22 Jul 2017 12:15:32 +0000 (14:15 +0200)]
[ci skip] update NEWS
Anatol Belski [Sat, 22 Jul 2017 12:14:22 +0000 (14:14 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
[ci skip] update NEWS
[ci skip] update NEWS
Anatol Belski [Sat, 22 Jul 2017 12:13:51 +0000 (14:13 +0200)]
[ci skip] update NEWS
Anatol Belski [Sat, 22 Jul 2017 12:13:25 +0000 (14:13 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
[ci skip] update NEWS
Anatol Belski [Sat, 22 Jul 2017 12:12:45 +0000 (14:12 +0200)]
[ci skip] update NEWS
Bob Weinand [Sat, 22 Jul 2017 09:16:48 +0000 (11:16 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
Bob Weinand [Sat, 22 Jul 2017 09:14:54 +0000 (11:14 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Bob Weinand [Sat, 22 Jul 2017 09:14:00 +0000 (11:14 +0200)]
Fixed bug #74954 (null deref and segfault in zend_generator_resume())
Anatol Belski [Sat, 22 Jul 2017 08:36:58 +0000 (10:36 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #74968 PHP crashes when calling mysqli_result::fetch_object with an abstract class
Anatol Belski [Sat, 22 Jul 2017 08:36:31 +0000 (10:36 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed bug #74968 PHP crashes when calling mysqli_result::fetch_object with an abstract class
Anatol Belski [Sat, 22 Jul 2017 08:35:26 +0000 (10:35 +0200)]
Fixed bug #74968 PHP crashes when calling mysqli_result::fetch_object with an abstract class
Nikita Popov [Fri, 21 Jul 2017 21:22:56 +0000 (23:22 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Fri, 21 Jul 2017 21:13:44 +0000 (23:13 +0200)]
Fix DFG construction for VERIFY_RETURN
`use` only contains uses prior to definition. This was not
honoured for VERIFY_RETURN with a temporary operand.
The test case only breaks on PHP 7.2.
Anatol Belski [Fri, 21 Jul 2017 20:26:37 +0000 (22:26 +0200)]
remove casts and ensure no out of bounds access
Frank Denis [Fri, 21 Jul 2017 16:25:25 +0000 (18:25 +0200)]
sodium ext: delete copypasta from sodium_crypto_kdf_derive_from_key()
/via @fredemmott
Frank Denis [Thu, 20 Jul 2017 20:30:58 +0000 (22:30 +0200)]
sodium ext: use crypto_scalarmult_BYTES for points coordinates
Just for consistency.
Frank Denis [Thu, 20 Jul 2017 18:17:52 +0000 (20:17 +0200)]
sodium ext: clear the hash state after we're done hashing
Frank Denis [Tue, 18 Jul 2017 14:53:45 +0000 (16:53 +0200)]
sodium ext: drop unused code
/via @remicollet
Xinchen Hui [Fri, 21 Jul 2017 10:17:54 +0000 (18:17 +0800)]
Update NEWS
Xinchen Hui [Fri, 21 Jul 2017 10:17:33 +0000 (18:17 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Update NEWS
Fixed bug #74950 (nullpointer deref in simplexml_element_getDocNamespaces)
Xinchen Hui [Fri, 21 Jul 2017 10:17:12 +0000 (18:17 +0800)]
Update NEWS
Xinchen Hui [Fri, 21 Jul 2017 10:16:54 +0000 (18:16 +0800)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed bug #74950 (nullpointer deref in simplexml_element_getDocNamespaces)
Xinchen Hui [Fri, 21 Jul 2017 10:16:37 +0000 (18:16 +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:
Move the define into the header to reduce diff for future upgrade
Xinchen Hui [Fri, 21 Jul 2017 10:16:11 +0000 (18:16 +0800)]
Fixed bug #74950 (nullpointer deref in simplexml_element_getDocNamespaces)
Anatol Belski [Fri, 21 Jul 2017 09:16:38 +0000 (11:16 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Move the define into the header to reduce diff for future upgrade
Anatol Belski [Fri, 21 Jul 2017 09:16:15 +0000 (11:16 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Move the define into the header to reduce diff for future upgrade
Anatol Belski [Fri, 21 Jul 2017 07:12:06 +0000 (09:12 +0200)]
Move the define into the header to reduce diff for future upgrade
Xinchen Hui [Fri, 21 Jul 2017 04:03:17 +0000 (12:03 +0800)]
Update NEWS
Xinchen Hui [Fri, 21 Jul 2017 04:02:54 +0000 (12:02 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Update NEWS
Fixed bug #74947 (Segfault in scanner on INF number)
Conflicts:
Zend/zend_language_scanner.c
Xinchen Hui [Fri, 21 Jul 2017 03:58:30 +0000 (11:58 +0800)]
Update NEWS
Xinchen Hui [Fri, 21 Jul 2017 03:58:07 +0000 (11:58 +0800)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed bug #74947 (Segfault in scanner on INF number)
Conflicts:
Zend/zend_language_scanner.c
Xinchen Hui [Fri, 21 Jul 2017 03:52:56 +0000 (11:52 +0800)]
Fixed bug #74947 (Segfault in scanner on INF number)
Dmitry Stogov [Thu, 20 Jul 2017 20:29:22 +0000 (23:29 +0300)]
fixed comments
Dmitry Stogov [Thu, 20 Jul 2017 20:28:05 +0000 (23:28 +0300)]
Fixed wrong edges_count re-calculation.
Anatol Belski [Thu, 20 Jul 2017 20:08:39 +0000 (22:08 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
increment sdk version
Anatol Belski [Thu, 20 Jul 2017 20:07:32 +0000 (22:07 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
increment sdk version
Anatol Belski [Thu, 20 Jul 2017 20:06:34 +0000 (22:06 +0200)]
increment sdk version
Anatol Belski [Thu, 20 Jul 2017 18:40:47 +0000 (20:40 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
remove another cygwin instance in AppVeyor run
Anatol Belski [Thu, 20 Jul 2017 18:39:36 +0000 (20:39 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
remove another cygwin instance in AppVeyor run
Anatol Belski [Thu, 20 Jul 2017 18:39:04 +0000 (20:39 +0200)]
remove another cygwin instance in AppVeyor run
Sergei Morozov [Wed, 19 Jul 2017 14:13:34 +0000 (17:13 +0300)]
Fixed bug #74941 - Session fails to start after having headers sent
Anatol Belski [Wed, 19 Jul 2017 20:42:05 +0000 (22:42 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
fix dir separator in test
Anatol Belski [Wed, 19 Jul 2017 20:41:32 +0000 (22:41 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
fix dir separator in test
Anatol Belski [Wed, 19 Jul 2017 20:41:09 +0000 (22:41 +0200)]
fix dir separator in test
Sara Golemon [Wed, 19 Jul 2017 18:01:18 +0000 (14:01 -0400)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Do not allow using traits/interfaces/abstract classes as stream wrappers
Add oci8_failover.c to config.w32, follow up for commit
1b797f7a
Sara Golemon [Wed, 19 Jul 2017 18:01:00 +0000 (14:01 -0400)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Do not allow using traits/interfaces/abstract classes as stream wrappers
Sara Golemon [Wed, 19 Jul 2017 16:29:05 +0000 (12:29 -0400)]
Do not allow using traits/interfaces/abstract classes as stream wrappers
Fixes https://bugs.php.net/bug.php?id=74951
Emmanuel Dreyfus [Wed, 19 Jul 2017 02:36:55 +0000 (04:36 +0200)]
Fixed bug #74851: Improve uniqid() performance
uniqid() relies on microsecond-precise system clock to produce an
unique identifier. In order to avoid using the same value, the
original implementation calls usleep(1) to wait for the next microsecond.
Unfortunately, usleep() specification says "The suspension time may be
longer than requested due to the scheduling of other activity by the
system." Indeed, the pause may as as long as an entire execution slice,
causing a uniqid() call to last more than 10 ms.
This is fixed by replacing the usleep() call by time polling using
gettimeofday() until the microsecond changes. Since the getttimeoday()
system call lasts around a microsecond, only a small time is wasted
calling multiple gettimeofday. On the benefit side, uniqid() performance
in increased 10000 fold without changing its behavior.
Lior Kaplan [Wed, 19 Jul 2017 14:26:38 +0000 (17:26 +0300)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Add oci8_failover.c to config.w32, follow up for commit
1b797f7a
Lior Kaplan [Wed, 19 Jul 2017 14:23:22 +0000 (17:23 +0300)]
Add oci8_failover.c to config.w32, follow up for commit
1b797f7a
Dmitry Stogov [Wed, 19 Jul 2017 14:16:56 +0000 (17:16 +0300)]
Keep resource of enclosing stream, because it may be referenced from other place(s).
This fixes valgrind warnings on Zend/tests/type_declarations/scalar_basic.phpt
Dmitry Stogov [Wed, 19 Jul 2017 12:42:32 +0000 (15:42 +0300)]
Separate the fast-patch
Dmitry Stogov [Wed, 19 Jul 2017 12:41:46 +0000 (15:41 +0300)]
Convert CONCAT into FAST_CONCAT for non-object operands
Dmitry Stogov [Wed, 19 Jul 2017 12:36:48 +0000 (15:36 +0300)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Reset globals on startup or restart
Dmitry Stogov [Wed, 19 Jul 2017 12:36:24 +0000 (15:36 +0300)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Reset globals on startup or restart
Dmitry Stogov [Wed, 19 Jul 2017 12:35:10 +0000 (15:35 +0300)]
Reset globals on startup or restart
Dmitry Stogov [Wed, 19 Jul 2017 10:07:33 +0000 (13:07 +0300)]
Remove dead live ranges and FREE instructions
Dmitry Stogov [Wed, 19 Jul 2017 10:06:25 +0000 (13:06 +0300)]
Remove live ranges
Nikita Popov [Tue, 18 Jul 2017 23:04:36 +0000 (01:04 +0200)]
Don't reuse compare_function operands
If the same zval is used for the result and one operand, then the
function thinks it is responsible for freeing the value in case of
a type conversion.
Sergei Morozov [Mon, 17 Jul 2017 09:39:34 +0000 (12:39 +0300)]
Fixed bug #74936 - session_*() functions trigger a warning in read mode when the session is active
Nikita Popov [Tue, 18 Jul 2017 20:16:33 +0000 (22:16 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Tue, 18 Jul 2017 20:15:20 +0000 (22:15 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
andrewnester [Tue, 6 Jun 2017 06:37:05 +0000 (09:37 +0300)]
Fixed #74699 - Broken ArrayIterator unserializing
Nikita Popov [Tue, 18 Jul 2017 19:45:41 +0000 (21:45 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Tue, 18 Jul 2017 19:45:35 +0000 (21:45 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
YaoGuai [Sun, 16 Jul 2017 07:12:29 +0000 (15:12 +0800)]
Fix check of mysql_commit() return value
For mysql_commit() everything non-zero is an error.
Nikita Popov [Tue, 18 Jul 2017 19:21:30 +0000 (21:21 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2