]>
granicus.if.org Git - php/log
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
Andrew Nester [Tue, 11 Jul 2017 18:50:38 +0000 (21:50 +0300)]
Fixed #74892 - Fixed URL rewriting for urls started with #
Dmitry Stogov [Tue, 18 Jul 2017 17:43:06 +0000 (20:43 +0300)]
Remove dead JMP/JMPZ/JMPNZ/JMPZNZ (DCE pass can't remove them)
Dmitry Stogov [Tue, 18 Jul 2017 17:42:40 +0000 (20:42 +0300)]
Constant evaluation of few more constant functions
Dmitry Stogov [Tue, 18 Jul 2017 17:41:01 +0000 (20:41 +0300)]
Disabled compile-time constant DOUBLE to STRING evaluation (its result depends on run-time 'precision' setting)
Joe Watkins [Tue, 18 Jul 2017 16:21:19 +0000 (17:21 +0100)]
bump versions
Sara Golemon [Tue, 18 Jul 2017 16:00:34 +0000 (16:00 +0000)]
Update NEWS for 7.2.0beta2
Sara Golemon [Tue, 18 Jul 2017 15:40:26 +0000 (15:40 +0000)]
Update NEWS for PHP 7.2.0beta1
Sara Golemon [Tue, 18 Jul 2017 14:40:42 +0000 (10:40 -0400)]
Bump all API numbers in prep for 7.2 fork
Frank Denis [Tue, 18 Jul 2017 12:42:15 +0000 (14:42 +0200)]
sodium ext: implement sodium_crypto_kdf()
Also add zend_parse_parameters_none() statements where appropriate.
Frank Denis [Tue, 18 Jul 2017 10:53:18 +0000 (12:53 +0200)]
Merge remote-tracking branch 'jedisct1/sodium-keygen'
* jedisct1/sodium-keygen:
sodium ext: remove unused sodium_randombytes_*() prototypes
sodium ext: add bindings for keygen() functions
sodium ext: sort prototypes
Anatol Belski [Tue, 18 Jul 2017 10:11:17 +0000 (12:11 +0200)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Exclude ext/ftp from AppVeyor test run
Anatol Belski [Tue, 18 Jul 2017 10:09:58 +0000 (12:09 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Exclude ext/ftp from AppVeyor test run
Anatol Belski [Tue, 18 Jul 2017 10:08:31 +0000 (12:08 +0200)]
Exclude ext/ftp from AppVeyor test run
as the tests depend on fork() and otherwise an extra setup would be
needed anyway.
Anatol Belski [Tue, 18 Jul 2017 08:26:51 +0000 (10:26 +0200)]
Merge branch 'PHP-7.1'
* PHP-7.1:
move to 7.0.23 for dev
Anatol Belski [Tue, 18 Jul 2017 08:26:10 +0000 (10:26 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
move to 7.0.23 for dev
Anatol Belski [Tue, 18 Jul 2017 08:25:40 +0000 (10:25 +0200)]
move to 7.0.23 for dev
Anatol Belski [Mon, 17 Jul 2017 22:35:01 +0000 (00:35 +0200)]
Dmitry Stogov [Mon, 17 Jul 2017 20:21:03 +0000 (23:21 +0300)]
Added NEWS entry
Dmitry Stogov [Mon, 17 Jul 2017 20:17:16 +0000 (23:17 +0300)]
gc_check_possible_root() may throw exception.
Dmitry Stogov [Mon, 17 Jul 2017 20:09:13 +0000 (23:09 +0300)]
Merge branch 'master' into unset_cv
* master:
Constant evaluation of in_array() (support for more cases).
fix missing var for phpize
Add support for OpenSSL security level
Dmitry Stogov [Mon, 17 Jul 2017 20:08:42 +0000 (23:08 +0300)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
fix missing var for phpize
Add support for OpenSSL security level
Dmitry Stogov [Mon, 17 Jul 2017 14:27:21 +0000 (17:27 +0300)]
Constant evaluation of in_array() (support for more cases).
Anatol Belski [Mon, 17 Jul 2017 17:41:21 +0000 (19:41 +0200)]
Merge branch 'PHP-7.1'
* PHP-7.1:
fix missing var for phpize
Anatol Belski [Mon, 17 Jul 2017 17:40:31 +0000 (19:40 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
fix missing var for phpize
Anatol Belski [Mon, 17 Jul 2017 04:54:27 +0000 (06:54 +0200)]
fix missing var for phpize
(cherry picked from commit
36c3d7140753bb692e36f5dcef7db7aa76224751 )
Jakub Zelenka [Mon, 17 Jul 2017 16:40:51 +0000 (17:40 +0100)]
Add support for OpenSSL security level
Dmitry Stogov [Mon, 17 Jul 2017 14:27:21 +0000 (17:27 +0300)]
Constant evaluation of in_array() (support for more cases).
Dmitry Stogov [Mon, 17 Jul 2017 11:11:50 +0000 (14:11 +0300)]
Separate ISSET_ISEMPTY_CV/UNSET_CV from ISSET_ISEMPTY_VAR/UNSET_VAR
Dmitry Stogov [Mon, 17 Jul 2017 10:35:47 +0000 (13:35 +0300)]
Fixed CFG/SSA construction (avoid multiple identical predecessors)
Dmitry Stogov [Mon, 17 Jul 2017 08:00:46 +0000 (11:00 +0300)]
Removed vim mode lines. zend_vm_opcodes.h loses these lines after regeneration. Lines in zend_vm_def.h lead to insertion inthe middle of zend_vm_execute.h.
Dmitry Stogov [Mon, 17 Jul 2017 06:11:14 +0000 (09:11 +0300)]
Allocate additional slot for third argument
Anatol Belski [Mon, 17 Jul 2017 06:00:41 +0000 (08:00 +0200)]
fix new password related pieces wrt failing tests
Peter Kokot [Wed, 12 Jul 2017 19:42:06 +0000 (21:42 +0200)]
Fixed bug #74906 redirecting incorrect include <sys/errno.h>
Joe Watkins [Mon, 17 Jul 2017 05:55:28 +0000 (06:55 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Fixed bug #74906 redirecting incorrect include <sys/errno.h>
Joe Watkins [Mon, 17 Jul 2017 05:54:46 +0000 (06:54 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed bug #74906 redirecting incorrect include <sys/errno.h>
Peter Kokot [Tue, 11 Jul 2017 22:41:43 +0000 (00:41 +0200)]
Fixed bug #74906 redirecting incorrect include <sys/errno.h>
Joe Watkins [Mon, 17 Jul 2017 05:52:00 +0000 (06:52 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Fixed bug 74913 redirecting incorrect include <sys/poll.h>
Joe Watkins [Mon, 17 Jul 2017 05:51:26 +0000 (06:51 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed bug 74913 redirecting incorrect include <sys/poll.h>
Peter Kokot [Wed, 12 Jul 2017 19:23:41 +0000 (21:23 +0200)]
Fixed bug 74913 redirecting incorrect include <sys/poll.h>
Anatol Belski [Mon, 17 Jul 2017 05:01:07 +0000 (07:01 +0200)]
fix typo
Anatol Belski [Mon, 17 Jul 2017 04:54:27 +0000 (06:54 +0200)]
fix missing var for phpize
Sara Golemon [Sun, 16 Jul 2017 21:31:39 +0000 (17:31 -0400)]
Refactor password_hash()
Pull salt generation out to a helper.
Merge options/hash into single switch.
Restore php_error->php_error_docref from last diff. (Error messages matter)
Sara Golemon [Sat, 15 Jul 2017 14:12:20 +0000 (10:12 -0400)]
Refactor password.c
Use zend_string instread of char*/size_t
Clean up use of scope vars
Get rid of some temporaries/overstacked expressions.
Sara Golemon [Sat, 15 Jul 2017 11:51:49 +0000 (07:51 -0400)]
Provide zend_string wrappers for php_base64_(en|de)code
Also pull existing php_base64_decode() proxy out to an inline.
Bump PHP_API_VERSION for ABI change.
Jakub Zelenka [Sun, 16 Jul 2017 17:38:17 +0000 (18:38 +0100)]
Make functions in openssl.c more consistent
Improve naming, CS and add some static defs
Jakub Zelenka [Sun, 16 Jul 2017 16:57:43 +0000 (17:57 +0100)]
Make consitent naming and improve CS in xp_ssl