]>
granicus.if.org Git - php/log
Nikita Popov [Thu, 15 Dec 2016 21:16:44 +0000 (22:16 +0100)]
Fix stack management in ini scanner
Anatol Belski [Thu, 15 Dec 2016 11:20:37 +0000 (12:20 +0100)]
make timing check more forgiving in these tests
Particularly on slower VMs, the sporadic fails can still happen.
The timing is kept in an uncritical range, but allows the tests
pass there. Mayby, it'd make sense to introduce a new group for
this kind of tests, so tests requiring exact time measurement
can be avoided on unsuitable environments.
Matteo Beccati [Thu, 15 Dec 2016 08:31:54 +0000 (09:31 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Skip tests when secure_file_priv dir not writable
Matteo Beccati [Thu, 15 Dec 2016 08:31:00 +0000 (09:31 +0100)]
Skip tests when secure_file_priv dir not writable
Yasuo Ohgaki [Thu, 15 Dec 2016 07:16:45 +0000 (16:16 +0900)]
Add missing UPGRADING entry. Manual is updated before 7.0 release.
Anatol Belski [Wed, 14 Dec 2016 18:53:55 +0000 (19:53 +0100)]
extend skip section
The day light offset is calculated based on the system TZ, so with
an unsuitable one there's no way to workaround the false positives.
Nikita Popov [Wed, 14 Dec 2016 17:10:36 +0000 (18:10 +0100)]
Partially fix bug #70492
The libmagic portion is missing.
Anatol Belski [Wed, 14 Dec 2016 11:33:13 +0000 (12:33 +0100)]
cleanup temporary data
Nikita Popov [Tue, 13 Dec 2016 16:54:30 +0000 (17:54 +0100)]
More fixes for bug #73089
Insert a lot more DEREFs. Some may not be necessary, but better
safe than sorry. I'm thinking the soap_hash_str_find_deref function
should become part of the zend_hash API -- we need this in many
places.
Andrey Hristov [Mon, 12 Dec 2016 19:52:36 +0000 (21:52 +0200)]
Add a bit more test cases (edge cases) to the BIT test case
Andrey Hristov [Mon, 12 Dec 2016 19:28:33 +0000 (21:28 +0200)]
Add a test case to test fetching of multiple rows with bit values.
Andrey Hristov [Mon, 12 Dec 2016 19:11:02 +0000 (21:11 +0200)]
Fix off by 1 problem.
The problem was manifestated only with BIT columns and only when more than
one row was fetched. The problem was coming from the fact that in pre-7.0
times mysqlnd was using a no-copy optimization. This optimization kept the
strings (and also the BIT mask equivalents as strings) in the packet and the
zval referred to them. 7.0+ zvals cannot use no-copy and always copy. Because
of this the allocated memory for the packet was reduced by 1 by the person who
ported the driver, but the starting address of the bit area wasn't reduced.
Because of this the bit_area started at wrong address and the length decoded
wrong.
Anatol Belski [Mon, 12 Dec 2016 00:54:22 +0000 (01:54 +0100)]
better way to get ACP
Anatol Belski [Mon, 12 Dec 2016 00:26:06 +0000 (01:26 +0100)]
fix datatype for zpp, yet a followup on bug #73679
Anatol Belski [Sun, 11 Dec 2016 16:39:08 +0000 (17:39 +0100)]
update NEWS
Anatol Belski [Sun, 11 Dec 2016 16:06:55 +0000 (17:06 +0100)]
Fixed bug #73679 DOTNET read access violation using invalid codepage
Anatol Belski [Thu, 8 Dec 2016 16:15:06 +0000 (17:15 +0100)]
fix uninitialized member
Ferenc Kovacs [Thu, 8 Dec 2016 06:09:41 +0000 (07:09 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Thu, 8 Dec 2016 06:05:32 +0000 (07:05 +0100)]
update NEWS
Anatol Belski [Thu, 8 Dec 2016 02:24:18 +0000 (03:24 +0100)]
git clean section
Anatol Belski [Wed, 7 Dec 2016 20:22:34 +0000 (21:22 +0100)]
update NEWS
Dorin Marcoci [Wed, 7 Dec 2016 20:06:11 +0000 (21:06 +0100)]
Fixed bug #72931 PDO_FIREBIRD with Firebird 3.0 not work on returning statement
Markus Staab [Mon, 5 Dec 2016 19:57:03 +0000 (20:57 +0100)]
Fixed typo in skipif error message
Dmitry Stogov [Wed, 7 Dec 2016 12:10:59 +0000 (15:10 +0300)]
Check if PHP is in execution state.
Anatol Belski [Tue, 6 Dec 2016 19:25:27 +0000 (20:25 +0100)]
update NEWS
Bob Weinand [Tue, 6 Dec 2016 17:27:31 +0000 (18:27 +0100)]
Fixed issue getting executable lines from custom wrappers
See also krakjoe/phpdbg#161
Anatol Belski [Tue, 6 Dec 2016 15:17:28 +0000 (16:17 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
fix leak, take 2
Anatol Belski [Tue, 6 Dec 2016 15:12:39 +0000 (16:12 +0100)]
fix leak, take 2
Anatol Belski [Tue, 6 Dec 2016 13:42:59 +0000 (14:42 +0100)]
fix leak, take on 7.x
Anatol Belski [Tue, 6 Dec 2016 13:36:52 +0000 (14:36 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
fix leak, take on 5.6
Anatol Belski [Tue, 6 Dec 2016 13:34:27 +0000 (14:34 +0100)]
fix leak, take on 5.6
Xinchen Hui [Tue, 6 Dec 2016 09:17:59 +0000 (17:17 +0800)]
Fixed bug #73663 ("Invalid opcode 65/16/8" occurs with a variable created with list())
Stanislav Malyshev [Tue, 6 Dec 2016 06:33:33 +0000 (22:33 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
This still leaks memory, I don't have enough knowledge in WDDX code to fix them :(
Stanislav Malyshev [Tue, 6 Dec 2016 06:32:59 +0000 (22:32 -0800)]
This still leaks memory, I don't have enough knowledge in WDDX code to fix them :(
Stanislav Malyshev [Tue, 6 Dec 2016 06:16:00 +0000 (22:16 -0800)]
Fix bug #73645 - int/size_t confusion
Stanislav Malyshev [Tue, 6 Dec 2016 05:58:55 +0000 (21:58 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fix bug #73631 - Invalid read when wddx decodes empty boolean element
Stanislav Malyshev [Tue, 6 Dec 2016 05:40:55 +0000 (21:40 -0800)]
Fix bug #73631 - Invalid read when wddx decodes empty boolean element
Dmitry Stogov [Mon, 5 Dec 2016 18:45:08 +0000 (21:45 +0300)]
Fixed behavior of failing compound assignments (they shouldn't change the source value when exception thrown during type converion).
Anatol Belski [Sun, 4 Dec 2016 21:42:39 +0000 (22:42 +0100)]
fix test
This test depends on connection flags modifable from teh env,
that can affect the exact function called.
Anatol Belski [Sun, 4 Dec 2016 21:27:17 +0000 (22:27 +0100)]
fix test
On Windows, either doubled backslashes or forward slashes are supported
on the server side.
Anatol Belski [Sun, 4 Dec 2016 19:59:12 +0000 (20:59 +0100)]
fix ident
Anatol Belski [Sun, 4 Dec 2016 16:28:43 +0000 (17:28 +0100)]
fix test
Anatol Belski [Sun, 4 Dec 2016 13:01:40 +0000 (14:01 +0100)]
enforce the test ini usage for the child process
Bob Weinand [Sat, 3 Dec 2016 22:37:23 +0000 (23:37 +0100)]
Fix PHP-7.0 build (wrong fix for the branch)
Bob Weinand [Sat, 3 Dec 2016 17:23:58 +0000 (18:23 +0100)]
Fix leak when using $this outside of object context
Christoph M. Becker [Sat, 3 Dec 2016 13:18:00 +0000 (14:18 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
Adrien Crivelli [Wed, 30 Nov 2016 09:19:35 +0000 (18:19 +0900)]
Fix minor typo
Nikita Popov [Fri, 2 Dec 2016 16:03:05 +0000 (17:03 +0100)]
Fix leak in shift_right_function
Bob Weinand [Fri, 2 Dec 2016 14:41:47 +0000 (15:41 +0100)]
Fix test of wrong operator in self_xor.phpt
Dmitry Stogov [Fri, 2 Dec 2016 12:39:33 +0000 (15:39 +0300)]
Eliminated useless exception check
Dmitry Stogov [Fri, 2 Dec 2016 12:13:55 +0000 (15:13 +0300)]
Fixed behavior of failing compound assignments (they shouldn't change the source value when exception thrown during type converion).
Dmitry Stogov [Fri, 2 Dec 2016 10:58:44 +0000 (13:58 +0300)]
Fixed behavior of failing compound assignments (they shouldn't change the source value).
Dmitry Stogov [Fri, 2 Dec 2016 09:34:46 +0000 (12:34 +0300)]
Fixed possible memory leak in &=, |=, ^=.
Bob Weinand [Thu, 1 Dec 2016 14:21:28 +0000 (15:21 +0100)]
Fix valgrind issue when throwing due to yield from aborted generator
Anatol Belski [Thu, 1 Dec 2016 13:52:18 +0000 (14:52 +0100)]
fork tests
Dmitry Stogov [Thu, 1 Dec 2016 13:21:57 +0000 (16:21 +0300)]
Fixed bad merge
Dmitry Stogov [Thu, 1 Dec 2016 12:50:05 +0000 (15:50 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Workaround for GCC-4.9.2 bug
oops, changed in wrong place
Dmitry Stogov [Thu, 1 Dec 2016 12:46:52 +0000 (15:46 +0300)]
Workaround for GCC-4.9.2 bug
Anatol Belski [Thu, 1 Dec 2016 12:32:10 +0000 (13:32 +0100)]
improve skipif
Dmitry Stogov [Thu, 1 Dec 2016 07:30:02 +0000 (10:30 +0300)]
Simpler overflow check
Nuno Lopes [Wed, 30 Nov 2016 19:41:26 +0000 (14:41 -0500)]
Merge branch 'PHP-7.0' of https://git.php.net/push/php-src into PHP-7.0
Bob Weinand [Wed, 30 Nov 2016 10:44:10 +0000 (11:44 +0100)]
Fix run-tests.php to always include TEST_PHPDBG_EXECUTABLE if phpdbg available
Bob Weinand [Wed, 30 Nov 2016 01:56:47 +0000 (02:56 +0100)]
Fixed bug #73615 (phpdbg without option never load .phpdbginit at startup)
Dmitry Stogov [Mon, 28 Nov 2016 09:54:47 +0000 (12:54 +0300)]
Fixed bug #73586 (php_user_filter::$stream is not set to the stream the filter is working on).
Dmitry Stogov [Mon, 28 Nov 2016 09:20:19 +0000 (12:20 +0300)]
Fixed calling generators through magic __call()
Stanislav Malyshev [Mon, 28 Nov 2016 00:11:41 +0000 (16:11 -0800)]
oops, changed in wrong place
Stanislav Malyshev [Sun, 27 Nov 2016 23:38:22 +0000 (15:38 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
add NEWS
Stanislav Malyshev [Sun, 27 Nov 2016 23:38:09 +0000 (15:38 -0800)]
add NEWS
Stanislav Malyshev [Sun, 27 Nov 2016 23:36:29 +0000 (15:36 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fix #68447: grapheme_extract take an extra trailing character
Stanislav Malyshev [Sun, 27 Nov 2016 23:11:17 +0000 (15:11 -0800)]
Merge branch 'pull-request/1974' into PHP-5.6
* pull-request/1974:
Fix #68447: grapheme_extract take an extra trailing character
Stanislav Malyshev [Sun, 27 Nov 2016 22:53:27 +0000 (14:53 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fix #73549: Use after free when stream is passed to imagepng
Christoph M. Becker [Thu, 17 Nov 2016 12:44:30 +0000 (13:44 +0100)]
Fix #73549: Use after free when stream is passed to imagepng
If a stream is passed to imagepng() or other image output functions,
opposed to a filename, we must not close this stream.
Matteo Beccati [Sun, 27 Nov 2016 09:20:38 +0000 (10:20 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fix occasionaly failing test
Matteo Beccati [Sun, 27 Nov 2016 09:20:13 +0000 (10:20 +0100)]
Fix occasionaly failing test
Matteo Beccati [Sun, 27 Nov 2016 09:08:04 +0000 (10:08 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Added missing array key to $JUNIT
Matteo Beccati [Sun, 27 Nov 2016 09:07:05 +0000 (10:07 +0100)]
Added missing array key to $JUNIT
Stanislav Malyshev [Sat, 26 Nov 2016 23:36:57 +0000 (15:36 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
acinclude.m4: fix krb5-config detection and usage in PHP_SETUP_KERBEROS.
Add more mbfl string size checks (bug #73505)
Michael Orlitzky [Fri, 30 Sep 2016 23:47:20 +0000 (19:47 -0400)]
acinclude.m4: fix krb5-config detection and usage in PHP_SETUP_KERBEROS.
When building with kerberos support (--with-kerberos), a few libraries
and flags need to be added to various parts of the build system. The
most reliable way to get those flags is through the krb5-config
program that ships with both major implementations of kerberos. The
PHP_SETUP_KERBEROS macro in acinclude.m4 attempts to detect
krb5-config, and use it.
However, there's a bug in that macro. The --with-kerberos parameter
accepts a directory where the kerberos libraries can be found. When a
directory is given, it is stored in the PHP_KERBEROS variable. The
following test,
if test "$PHP_KERBEROS" = "yes" && test -x "$KRB5_CONFIG"; then
thus fails whenever a directory is passed to --with-kerberos, since it
compares a directory name against the string "yes". This causes
krb5-config to go unused, and some unreliable fallback logic is
attempted instead. One consequence of this is that the Heimdal
kerberos implementation cannot be substituted for the MIT one, at
least when a directory is passed to --with-kerberos.
This commit reverses the logic and checks for "$PHP_KERBEROS" != "no".
To confirm that this fixes the issue, one can inspect the "-l" library
flags that get appended to the command-line. On a machine with Heimdal
and the unmodified acinclude.m4, running
./configure --with-openssl --with-kerberos=/usr
will log (for example) to config.log,
configure:18082: checking for krb5-config
configure:18101: found /usr/bin/krb5-config
configure:18114: result: /usr/bin/krb5-config
configure:18450: checking for RAND_egd
configure:18450: cc ... conftest.c ... -lgssapi_krb5 -lkrb5 ...
which are the library names for the MIT implementation. After patching
acinclude.m4 to negate the logic, the same command on the same machine
outputs (to config.log):
configure:18450: cc ... conftest.c -lgssapi -lheimntlm ...
These are the correct library names for the Heimdal implementation.
PHP-Bug: 73214
Stanislav Malyshev [Sat, 26 Nov 2016 22:44:58 +0000 (14:44 -0800)]
Add more mbfl string size checks (bug #73505)
Stanislav Malyshev [Sat, 26 Nov 2016 22:48:40 +0000 (14:48 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Add more mbfl string size checks (bug #73505)
Stanislav Malyshev [Sat, 26 Nov 2016 22:44:58 +0000 (14:44 -0800)]
Add more mbfl string size checks (bug #73505)
Christoph M. Becker [Sat, 26 Nov 2016 14:34:27 +0000 (15:34 +0100)]
Fix #73612: preg_*() may leak memory
We have to make sure that collectible zvals end up in the GC root
buffer, to avoid memory leaks.
Stanislav Malyshev [Fri, 25 Nov 2016 23:30:20 +0000 (15:30 -0800)]
Fix more size_t/int implicit conversions
Now the conversions are explicit and do checks. Not sure it's
the best way but at least we can see them now in the open.
Stanislav Malyshev [Fri, 25 Nov 2016 21:42:35 +0000 (13:42 -0800)]
Fix int/size_t confusion in isValidPharFilename (bug #73580)
Christoph M. Becker [Fri, 25 Nov 2016 22:16:18 +0000 (23:16 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Fri, 25 Nov 2016 22:02:34 +0000 (23:02 +0100)]
Fix #73582: Failing ext/gd/tests/imagettftext_charmap_order.phpt
This test is not supposed to work with JIS-mapped Japanese font support
enabled.
Anatol Belski [Thu, 24 Nov 2016 18:25:47 +0000 (19:25 +0100)]
add test for bug #57547
Derick Rethans [Thu, 24 Nov 2016 10:40:14 +0000 (10:40 +0000)]
Updated to version 2016.10 (2016j)
Derick Rethans [Thu, 24 Nov 2016 10:40:13 +0000 (10:40 +0000)]
Empty merge
Derick Rethans [Thu, 24 Nov 2016 10:40:11 +0000 (10:40 +0000)]
Updated to version 2016.10 (2016j)
Xinchen Hui [Thu, 24 Nov 2016 04:02:02 +0000 (12:02 +0800)]
Fixed bug #73585 (Logging of "Internal Zend error - Missing class information" missing class name)
Actually, I doubt how thing bug could be triggered
Ferenc Kovacs [Thu, 24 Nov 2016 00:57:42 +0000 (01:57 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Thu, 24 Nov 2016 00:54:23 +0000 (01:54 +0100)]
5.6.30 will be next
Nikita Popov [Tue, 22 Nov 2016 18:25:31 +0000 (19:25 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Fri, 18 Nov 2016 15:41:13 +0000 (16:41 +0100)]
Make php_url_parse_ex() respect length argument
This should fix all out-of-bounds reads that could previously
occur if the string passed to php_url_parse_ex() is not NUL
terminated.
Nikita Popov [Fri, 18 Nov 2016 16:00:56 +0000 (17:00 +0100)]
Cleanup parse_url() query/fragment handling
The query/fragment handling was pretty convoluted, with many parts
being duplicated. Simplify by checking for fragment, then for query,
then for path.
Nikita Popov [Thu, 17 Nov 2016 22:18:05 +0000 (23:18 +0100)]
Cleanup parse_url() gotos
Simplify some unnecessarily complicated code. In particular the
length updates are unnecessary (length is only used at the very
start) and we're goto'ing around a bit too much.
Anatol Belski [Tue, 22 Nov 2016 11:42:57 +0000 (12:42 +0100)]
update libs_versions.txt
Anatol Belski [Tue, 22 Nov 2016 11:42:20 +0000 (12:42 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
update libs versions.txt
Anatol Belski [Tue, 22 Nov 2016 11:36:51 +0000 (12:36 +0100)]
update libs versions.txt