]>
granicus.if.org Git - php/log
Anatol Belski [Mon, 15 Feb 2016 07:19:52 +0000 (08:19 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fix bug #71525
Sean DuBois [Thu, 4 Feb 2016 21:13:57 +0000 (15:13 -0600)]
Fix bug #71525
timelib_time->timelib_rel_time is mutated by date_modify, and because it is never zero'ed out
it latters causes other date operations to fail (like date_date_set)
Xinchen Hui [Mon, 15 Feb 2016 05:55:33 +0000 (13:55 +0800)]
Merge branch 'bug_45876_missing_fields' of https://github.com/wayfair/php-src
* 'bug_45876_missing_fields' of https://github.com/wayfair/php-src:
Add missing fields to expected test output
Xinchen Hui [Mon, 15 Feb 2016 05:52:50 +0000 (13:52 +0800)]
Merge branch 'patch-32' of https://github.com/marcosptf/php-src
* 'patch-32' of https://github.com/marcosptf/php-src:
Update ReflectionClass_isArray.phpt
test to function ReflectionParameter::isArray
Xinchen Hui [Mon, 15 Feb 2016 05:50:54 +0000 (13:50 +0800)]
Merge branch 'updateTestCoverage' of https://github.com/mattflaschen/php-src
* 'updateTestCoverage' of https://github.com/mattflaschen/php-src:
Add additional test coverage for html_entity_decode
Xinchen Hui [Mon, 15 Feb 2016 05:46:27 +0000 (13:46 +0800)]
Restore to the first version fix(sorry, mis-read the codes)
Xinchen Hui [Mon, 15 Feb 2016 05:24:47 +0000 (13:24 +0800)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Update NEWS
fpm: call zend_signal_init() in child
Xinchen Hui [Mon, 15 Feb 2016 05:24:39 +0000 (13:24 +0800)]
Update NEWS
Mickaël [Sat, 9 Jan 2016 03:54:02 +0000 (04:54 +0100)]
fpm: call zend_signal_init() in child
This addresses bug #71269.
When an fpm child handles more than one request, zend_signal_startup() will
override the saved signal handlers with the internal zend handlers set from the
previous request, causing a SIGQUIT signal to result in a core dump rather than
gracefully exiting (the expected behaviour).
This is fixed by adding a call to zend_signal_init() after setting the
signal handlers in the child. The same technique is used in the apache SAPI
module in commit
fd5a756ad44124ffa7e9a5810a31ff49e91708cf which addresses
bug #61083.
Xinchen Hui [Mon, 15 Feb 2016 05:23:01 +0000 (13:23 +0800)]
Merge branch 'patch-1' of https://github.com/mickael9/php-src
* 'patch-1' of https://github.com/mickael9/php-src:
fpm: call zend_signal_init() in child
Xinchen Hui [Mon, 15 Feb 2016 04:09:52 +0000 (12:09 +0800)]
Reset op_array->live_range if it is removed all by optimization
Xinchen Hui [Mon, 15 Feb 2016 04:09:13 +0000 (12:09 +0800)]
Revert "Fixed segfault in file cache serialize if live range is empty after"
This reverts commit
2661a474793f7a599dba5353874a3d381e4b820b .
Xinchen Hui [Mon, 15 Feb 2016 04:07:43 +0000 (12:07 +0800)]
Fixed segfault in file cache serialize if live range is empty after
optimiaztion
Xinchen Hui [Mon, 15 Feb 2016 03:12:04 +0000 (11:12 +0800)]
Combine conditions (good for other VM kinds)
Xinchen Hui [Mon, 15 Feb 2016 03:05:01 +0000 (11:05 +0800)]
It's better to support 5.3 as well
Xinchen Hui [Mon, 15 Feb 2016 02:37:45 +0000 (10:37 +0800)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Update NEWS
Xinchen Hui [Mon, 15 Feb 2016 02:37:37 +0000 (10:37 +0800)]
Update NEWS
Xinchen Hui [Mon, 15 Feb 2016 02:33:18 +0000 (10:33 +0800)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Update NEWS: "Fixed bug #71584 (Possible use-after-free of ZCG(cwd) in Zend Opcache)"
Fix use-after-free of ZCG(cwd) in Zend Optimizer
Xinchen Hui [Mon, 15 Feb 2016 02:32:50 +0000 (10:32 +0800)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Update NEWS: "Fixed bug #71584 (Possible use-after-free of ZCG(cwd) in Zend Opcache)"
Fix use-after-free of ZCG(cwd) in Zend Optimizer
Conflicts:
ext/opcache/ZendAccelerator.c
Xinchen Hui [Mon, 15 Feb 2016 02:31:37 +0000 (10:31 +0800)]
Update NEWS: "Fixed bug #71584 (Possible use-after-free of ZCG(cwd) in Zend Opcache)"
Xinchen Hui [Mon, 15 Feb 2016 02:29:28 +0000 (10:29 +0800)]
Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6
* 'PHP-5.6' of git.php.net:/php-src:
update NEWS
Fixed bug #71559 Built-in HTTP server, we can downlaod file in web by bug
Check length of string before comparing to :memory:
Fix bounds check in strip_tags()
Fix test description
FIx bug #71569
Anatol Belski [Sun, 14 Feb 2016 19:54:42 +0000 (20:54 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
updated NEWS
update NEWS
Anatol Belski [Sun, 14 Feb 2016 19:54:13 +0000 (20:54 +0100)]
updated NEWS
Anatol Belski [Sun, 14 Feb 2016 19:53:41 +0000 (20:53 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
update NEWS
Anatol Belski [Sun, 14 Feb 2016 19:52:47 +0000 (20:52 +0100)]
update NEWS
Anatol Belski [Sun, 14 Feb 2016 19:49:42 +0000 (20:49 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed bug #71559 Built-in HTTP server, we can downlaod file in web by bug
Anatol Belski [Sun, 14 Feb 2016 19:49:03 +0000 (20:49 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fixed bug #71559 Built-in HTTP server, we can downlaod file in web by bug
Anatol Belski [Sun, 14 Feb 2016 19:47:23 +0000 (20:47 +0100)]
Fixed bug #71559 Built-in HTTP server, we can downlaod file in web by bug
Anatol Belski [Sun, 14 Feb 2016 16:28:38 +0000 (17:28 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
cleanup duplicated var
fix file lists with subdirs passed to EXTENSION()
Anatol Belski [Sun, 14 Feb 2016 16:20:37 +0000 (17:20 +0100)]
cleanup duplicated var
Anatol Belski [Sun, 14 Feb 2016 16:02:28 +0000 (17:02 +0100)]
fix file lists with subdirs passed to EXTENSION()
The underlying place responsible is the ADD_SOURCES() function. With
this, the calls like
EXTENSION("hello", "sub0/file0.c sub1/file1.c", ...)
are working correctly. Same for
ADD_SOURCES("some/dir", "sub0/file0.c sub1/file1.c", ...)
Nikita Popov [Sun, 14 Feb 2016 13:48:26 +0000 (14:48 +0100)]
Fix zpp in pg_last_notice
Nikita Popov [Sun, 14 Feb 2016 13:47:42 +0000 (14:47 +0100)]
Merge branch 'PHP-7.0'
Nikita Popov [Sun, 14 Feb 2016 13:02:19 +0000 (14:02 +0100)]
Format string fixes
Conflicts:
ext/pgsql/pgsql.c
Nikita Popov [Sun, 14 Feb 2016 12:50:59 +0000 (13:50 +0100)]
Fix format attributes in ZTS
Francois Laupretre [Thu, 11 Feb 2016 23:01:59 +0000 (00:01 +0100)]
Fix bug #71572
Discussed on the internals list as part of
http://markmail.org/message/fa625yc2eegk2dio.
Nikita Popov [Sat, 13 Feb 2016 22:46:50 +0000 (23:46 +0100)]
Simplify previous fix
I didn't notice that there already is a var with the same value.
Nikita Popov [Sat, 13 Feb 2016 17:54:49 +0000 (18:54 +0100)]
Fix ZEND_NEW live ranges
While the def starts at DO_FCALL, the variable should still be the
result of NEW, not DO_FCALL.
I had to fix the test for #68652, because the code started to
(correctly) free the "new self()" object, which triggered an
infinite destructor loop.
Nikita Popov [Sat, 13 Feb 2016 17:03:45 +0000 (18:03 +0100)]
Merge branch 'PHP-7.0'
Nikita Popov [Sat, 13 Feb 2016 17:03:06 +0000 (18:03 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
Conflicts:
ext/sqlite3/sqlite3.c
Nikita Popov [Sat, 13 Feb 2016 17:01:50 +0000 (18:01 +0100)]
Check length of string before comparing to :memory:
Nikita Popov [Sat, 13 Feb 2016 16:48:58 +0000 (17:48 +0100)]
Merge branch 'PHP-7.0'
Nikita Popov [Sat, 13 Feb 2016 16:48:17 +0000 (17:48 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Sat, 13 Feb 2016 16:47:30 +0000 (17:47 +0100)]
Fix bounds check in strip_tags()
Nikita Popov [Sat, 13 Feb 2016 16:46:24 +0000 (17:46 +0100)]
Fix test description
Nikita Popov [Sat, 13 Feb 2016 16:39:26 +0000 (17:39 +0100)]
Fix extract() overwriting its own argument
Already covered by bug46873.phpt under valgrind.
Nikita Popov [Sat, 13 Feb 2016 14:21:38 +0000 (15:21 +0100)]
Merge branch 'PHP-7.0'
Nikita Popov [Sat, 13 Feb 2016 14:21:16 +0000 (15:21 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
Conflicts:
ext/pdo_mysql/mysql_driver.c
Nikita Popov [Sat, 13 Feb 2016 14:17:51 +0000 (15:17 +0100)]
FIx bug #71569
convert_to_string() may result in an interned string.
Nikita Popov [Fri, 12 Feb 2016 17:50:19 +0000 (18:50 +0100)]
Fix bug #69989
This should cover all the basic cycles. Anything further would
require scanning the call stack and live temporaries.
Nikita Popov [Fri, 12 Feb 2016 16:58:12 +0000 (17:58 +0100)]
Merge branch 'PHP-7.0'
Nikita Popov [Fri, 12 Feb 2016 16:55:29 +0000 (17:55 +0100)]
Forbid yield from in by-reference generators
The current yield from implementation doesn't support by-ref
yields. It's likely not worthwhile to actually implement this,
but we should at least keep the door open for the future by
issuing a compile error.
Refs bug #71252.
Nikita Popov [Thu, 11 Feb 2016 19:42:49 +0000 (20:42 +0100)]
Remove ZEND_CALL_CTOR_RESULT_UNUSED
Instead emit a FREE on the result of NEW.
Dmitry Stogov [Thu, 11 Feb 2016 20:11:19 +0000 (23:11 +0300)]
Combine conditions
Nikita Popov [Fri, 5 Feb 2016 14:23:23 +0000 (15:23 +0100)]
Remove EXT_TYPE_UNUSED in favor of IS_UNUSED
This means we no longer allocate an unused VAR for the retval of
instructions that support unused results.
Nearly all instructions already used the result variable only if
it was used. The only exception to this was the return value
variable for internal function call results. I've adjusted the code
to use a stack zval for the unused return case now. As we have
retval specialization now, we know that it doesn't matter.
Nikita Popov [Thu, 11 Feb 2016 15:38:30 +0000 (16:38 +0100)]
Support partial GC for unfinished generators
This doesn't cover everything yet, but should be a good start for
cycled in unfinished generators.
Nikita Popov [Thu, 11 Feb 2016 15:33:23 +0000 (16:33 +0100)]
Merge branch 'PHP-7.0'
Nikita Popov [Thu, 11 Feb 2016 15:32:45 +0000 (16:32 +0100)]
Fix yield-by-ref of constant
Typo in the condition...
Nikita Popov [Thu, 11 Feb 2016 15:25:55 +0000 (16:25 +0100)]
Merge branch 'PHP-7.0'
Nikita Popov [Thu, 11 Feb 2016 15:22:42 +0000 (16:22 +0100)]
Fix dangling send target when using yield from
Also drop some unnecessary TRY_DELREFs -- leftovers from the days
when null was refcounted.
Anatol Belski [Thu, 11 Feb 2016 15:24:04 +0000 (16:24 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
fix version header
Anatol Belski [Thu, 11 Feb 2016 15:23:19 +0000 (16:23 +0100)]
fix version header
Bob Weinand [Thu, 11 Feb 2016 05:43:55 +0000 (06:43 +0100)]
Merge branch 'PHP-7.0'
Bob Weinand [Thu, 11 Feb 2016 05:42:51 +0000 (06:42 +0100)]
Fixed inherited functions from unspecified files being included in phpdbg_get_executable()
See also https://github.com/krakjoe/phpdbg/issues/152
Matthew Flaschen [Wed, 10 Feb 2016 22:52:49 +0000 (17:52 -0500)]
Add additional test coverage for html_entity_decode
Will help testing a HHVM fix (https://reviews.facebook.net/D53871)
Nikita Popov [Wed, 10 Feb 2016 18:04:33 +0000 (19:04 +0100)]
Merge branch 'PHP-7.0'
Nikita Popov [Wed, 10 Feb 2016 18:03:02 +0000 (19:03 +0100)]
Crude generator GC for value/key/retval
These values remain live after the generator has been closed, so
they are particularly susceptible to leaking cycles.
Joe Watkins [Wed, 10 Feb 2016 12:59:52 +0000 (12:59 +0000)]
Merge branch 'master' of https://github.com/php/php-src
Joe Watkins [Wed, 10 Feb 2016 12:57:48 +0000 (12:57 +0000)]
be more precise about the meaning of -n
Joe Watkins [Wed, 10 Feb 2016 12:58:19 +0000 (12:58 +0000)]
Merge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0
Joe Watkins [Wed, 10 Feb 2016 12:57:48 +0000 (12:57 +0000)]
be more precise about the meaning of -n
Yussuf Khalil [Wed, 10 Feb 2016 09:33:57 +0000 (10:33 +0100)]
Fix use-after-free of ZCG(cwd) in Zend Optimizer
Xinchen Hui [Tue, 9 Feb 2016 15:37:11 +0000 (23:37 +0800)]
Merge branch 'master' of git.php.net:/php-src
Xinchen Hui [Tue, 9 Feb 2016 15:36:24 +0000 (23:36 +0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Tue, 9 Feb 2016 15:36:15 +0000 (23:36 +0800)]
Update NEWS
Xinchen Hui [Tue, 9 Feb 2016 15:35:55 +0000 (23:35 +0800)]
Merge branch 'PHP-5.6' into PHP-7.0
Conflicts:
ext/zip/php_zip.c
Xinchen Hui [Tue, 9 Feb 2016 15:33:30 +0000 (23:33 +0800)]
Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6
Xinchen Hui [Tue, 9 Feb 2016 15:32:20 +0000 (23:32 +0800)]
Fixed bug #71561 (NULL pointer dereference in Zip::ExtractTo)
Nikita Popov [Tue, 9 Feb 2016 11:40:02 +0000 (12:40 +0100)]
Support CFG construction without live range splitting
We must not split at live range boundaries for SSA constructions,
otherwise an OP_DATA instruction may be separated into new block
and not picked up during renaming.
It's also unnecessary for this use case and only blows up the CFG.
Dmitry Stogov [Tue, 9 Feb 2016 10:12:57 +0000 (13:12 +0300)]
Cleanup OP_DATA usage. Now only first operand of OP_DATA is used for ASSIGN_DIM, ASSIGN_OBJ and ASSIGN_OP (DIM/OBJ) instructions.
Dmitry Stogov [Tue, 9 Feb 2016 09:16:17 +0000 (12:16 +0300)]
After DFA pass result of FE_FETCH may be CV
Xinchen Hui [Tue, 9 Feb 2016 04:20:33 +0000 (12:20 +0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Tue, 9 Feb 2016 04:20:11 +0000 (12:20 +0800)]
Fixed bug (Low probability segfault in zend_arena)
Lior Kaplan [Mon, 8 Feb 2016 18:33:17 +0000 (20:33 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Align spacing in make install messages
Lior Kaplan [Mon, 8 Feb 2016 18:31:08 +0000 (20:31 +0200)]
Add entry for re-fix of #70976 in commit
14e4d393
Lior Kaplan [Mon, 8 Feb 2016 18:29:24 +0000 (20:29 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Align spacing in make install messages
Add entry for re-fix of #70976 in commit
14e4d393
Lior Kaplan [Mon, 8 Feb 2016 18:27:19 +0000 (20:27 +0200)]
Align spacing in make install messages
Leigh [Mon, 8 Feb 2016 11:43:28 +0000 (11:43 +0000)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed memory leak in curl_getinfo()
Leigh [Mon, 8 Feb 2016 11:36:14 +0000 (11:36 +0000)]
Fixed memory leak in curl_getinfo()
The "v ? v" in the CAASTR macro caused zend_string_copy to be
called twice
Dmitry Stogov [Mon, 8 Feb 2016 09:20:37 +0000 (12:20 +0300)]
Removed wrong (old) code
Xinchen Hui [Mon, 8 Feb 2016 02:22:51 +0000 (10:22 +0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Mon, 8 Feb 2016 02:22:16 +0000 (10:22 +0800)]
Happy Year of Monkey (Forgot test of #71537)
Lior Kaplan [Sun, 7 Feb 2016 18:19:31 +0000 (20:19 +0200)]
Add entry for re-fix of #70976 in commit
14e4d393
Xinchen Hui [Sun, 7 Feb 2016 15:19:37 +0000 (23:19 +0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Sun, 7 Feb 2016 15:19:24 +0000 (23:19 +0800)]
Fixed bug #71537 (PCRE segfault from Opcache)
Nikita Popov [Sat, 6 Feb 2016 15:43:54 +0000 (16:43 +0100)]
Merge branch 'PHP-7.0'
Conflicts:
Zend/zend_compile.c
Nikita Popov [Sat, 6 Feb 2016 15:38:59 +0000 (16:38 +0100)]
Fix bug #71529
marcosptf [Fri, 5 Feb 2016 15:50:06 +0000 (13:50 -0200)]
Update ReflectionClass_isArray.phpt
marcosptf [Fri, 5 Feb 2016 14:21:10 +0000 (12:21 -0200)]
test to function ReflectionParameter::isArray
was created a new test uncovered yet!
:-)
Dmitry Stogov [Fri, 5 Feb 2016 12:46:52 +0000 (15:46 +0300)]
Specialize DO_FCALL (and variations) according to used/unused return value