]>
granicus.if.org Git - php/log
Xinchen Hui [Mon, 27 Jul 2015 03:17:05 +0000 (11:17 +0800)]
Fixed bug #70140 (str_ireplace/php_string_tolower - Arbitrary Code Execution)
Xinchen Hui [Fri, 24 Jul 2015 08:13:07 +0000 (16:13 +0800)]
Merge branch 'master' of git.php.net:php-src
Xinchen Hui [Fri, 24 Jul 2015 07:49:01 +0000 (15:49 +0800)]
Fixed bug #70124 (null ptr deref / seg fault in ZEND_HANDLE_EXCEPTION)
Christoph M. Becker [Thu, 23 Jul 2015 23:25:45 +0000 (01:25 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
added regression test for bug #55472, which has already been fixed as of PHP 5.5.0
Christoph M. Becker [Thu, 23 Jul 2015 23:23:33 +0000 (01:23 +0200)]
added regression test for bug #55472, which has already been fixed as of PHP
5.5.0
Christoph M. Becker [Thu, 23 Jul 2015 19:43:40 +0000 (21:43 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fix #53854: Missing constants for compression type
Christoph M. Becker [Thu, 23 Jul 2015 19:31:58 +0000 (21:31 +0200)]
Fix #53854: Missing constants for compression type
The constants have already been added long ago. This patch just adds a PHPT
which checks the recognition of the respective compression methods.
Unfortunately, I've not been able to assemble a zip with all compression
methods.
Christoph M. Becker [Thu, 23 Jul 2015 16:46:00 +0000 (18:46 +0200)]
updated NEWS
Christoph M. Becker [Thu, 23 Jul 2015 16:40:54 +0000 (18:40 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fix #70052: getimagesize() fails for very large and very small WBMP
Conflicts:
ext/standard/image.c
Christoph M. Becker [Thu, 23 Jul 2015 16:37:07 +0000 (18:37 +0200)]
updated NEWS
Christoph M. Becker [Thu, 23 Jul 2015 16:13:47 +0000 (18:13 +0200)]
Fix #70052: getimagesize() fails for very large and very small WBMP
Very large WBMP (width or height greater than 2**31-1) cause an overflow and
circumvent the size limitation of 2048x2048 px. Very small WBMP (less than 12
bytes) cause a read error and are not recognized. This patch fixes both bugs.
Anatol Belski [Thu, 23 Jul 2015 14:09:35 +0000 (16:09 +0200)]
enable ext/gd to support libpng16
Bob Weinand [Thu, 23 Jul 2015 12:55:13 +0000 (14:55 +0200)]
Fix build failure for non-osx *nixes
Bob Weinand [Thu, 23 Jul 2015 12:26:50 +0000 (14:26 +0200)]
Fix valgrind warning with sigaction
Bob Weinand [Thu, 23 Jul 2015 12:23:24 +0000 (14:23 +0200)]
Fix printf format issues on 32 bit
Anatol Belski [Thu, 23 Jul 2015 05:43:33 +0000 (07:43 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
fix config.w32
fix C99 compat
Align CVE format for #69669
Fix 69882 entry
Anatol Belski [Thu, 23 Jul 2015 05:34:31 +0000 (07:34 +0200)]
fix config.w32
Anatol Belski [Thu, 23 Jul 2015 05:31:54 +0000 (07:31 +0200)]
fix C99 compat
Xinchen Hui [Thu, 23 Jul 2015 04:16:22 +0000 (12:16 +0800)]
cleanup
Xinchen Hui [Thu, 23 Jul 2015 03:36:46 +0000 (11:36 +0800)]
Make IS_TMP_VAR and IS_VAR differentiable
Xinchen Hui [Thu, 23 Jul 2015 03:18:50 +0000 (11:18 +0800)]
Merge branch 'master' of git.php.net:php-src
Xinchen Hui [Thu, 23 Jul 2015 03:16:10 +0000 (11:16 +0800)]
Fixed bug #70117 (Unexpected return type error)
Bob Weinand [Wed, 22 Jul 2015 23:03:03 +0000 (01:03 +0200)]
Fix phpdbg test failure and crash with opcache
Bob Weinand [Wed, 22 Jul 2015 21:16:50 +0000 (23:16 +0200)]
Opcache is assuming that op_arrays without refcount are always efree()d
We maybe should search for some other way, because just not refcounting the op_array is rather a dirty hack.
If possible, we should change opcache and just expect op_array->refcount != NULL ... but I have not found a clean way yet.
Lior Kaplan [Wed, 22 Jul 2015 17:35:31 +0000 (20:35 +0300)]
Align CVE format for #69669
Lior Kaplan [Wed, 22 Jul 2015 17:34:31 +0000 (20:34 +0300)]
Fix 69882 entry
Bob Weinand [Wed, 22 Jul 2015 16:11:35 +0000 (18:11 +0200)]
Add phpdbg_get_executable() (gets executable ops/lines)
Bob Weinand [Wed, 22 Jul 2015 15:15:09 +0000 (17:15 +0200)]
We cannot safely assume that all op array will be refcount 0 after execution
Some extensions may want to analyze or re-run the op array later
Xinchen Hui [Wed, 22 Jul 2015 14:43:30 +0000 (22:43 +0800)]
Fixed bug #70111 (Segfault when a function uses both an explicit return type and an explicit cast)
Bob Weinand [Wed, 22 Jul 2015 13:33:44 +0000 (15:33 +0200)]
Always lowercase function names for lookup in phpdbg -p
Bob Weinand [Wed, 22 Jul 2015 11:49:28 +0000 (13:49 +0200)]
Fix opcode tests which may generate FCALL instead of ICALL
Bob Weinand [Wed, 22 Jul 2015 11:46:06 +0000 (13:46 +0200)]
Add -e (ZEND_EXT_* generation) option to phpdbg
Nikita Popov [Wed, 22 Jul 2015 11:12:54 +0000 (13:12 +0200)]
Emit EXT_STMT for each statement
I'm excluding unticked statements for this (in 5.x they were included)
as this would just result in two consecutive EXT_STMTs.
Also add all class statements to unticked statements, these would
generate superfluous EXT_STMT/TICKS in the parent op_array.
Xinchen Hui [Wed, 22 Jul 2015 11:13:26 +0000 (19:13 +0800)]
Fixed opcodes printing.
-p"function"
-p"class::"
-p"class::method"
Julien Pauli [Wed, 22 Jul 2015 07:28:59 +0000 (09:28 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
5.6.13 now
Conflicts:
configure.in
main/php_version.h
Julien Pauli [Wed, 22 Jul 2015 07:27:49 +0000 (09:27 +0200)]
5.6.13 now
Bob Weinand [Tue, 21 Jul 2015 22:22:39 +0000 (00:22 +0200)]
$argv and $argc may be IS_INDIRECT
Bob Weinand [Tue, 21 Jul 2015 22:02:40 +0000 (00:02 +0200)]
Undefined values may lead to big allocation
Nikita Popov [Tue, 21 Jul 2015 16:06:19 +0000 (18:06 +0200)]
Remove FAST_CALL_FROM_CATCH
This was generated for a return from a try block with both a catch
and a finally. However at this point no exception can be active,
because it either didn't exist in the first place or was explicitly
discarded using DISCARD_EXCEPTION.
Bob Weinand [Tue, 21 Jul 2015 18:34:06 +0000 (20:34 +0200)]
Fix bug #70106 (Inheritance by anonymous class)
Bob Weinand [Tue, 21 Jul 2015 14:39:22 +0000 (16:39 +0200)]
Add an option to not generate INIT_FCALL ops for user functions too
Anatol Belski [Tue, 21 Jul 2015 14:37:43 +0000 (16:37 +0200)]
version up in NEWS
Anatol Belski [Tue, 21 Jul 2015 14:36:36 +0000 (16:36 +0200)]
remove BOM from NEWS
Anatol Belski [Tue, 21 Jul 2015 09:18:36 +0000 (11:18 +0200)]
Reverted
ad4533fdbabcc3e545277e30023b2fdce16297a0
The E_ERROR to E_RECOVERABLE_ERROR should be readded with the
proper tests.
Anatol Belski [Tue, 21 Jul 2015 09:12:08 +0000 (11:12 +0200)]
update UPGRADING
Anatol Belski [Tue, 21 Jul 2015 08:42:06 +0000 (10:42 +0200)]
updated NEWS
Anatol Belski [Sat, 18 Jul 2015 16:28:42 +0000 (18:28 +0200)]
fix comment
Anatol Belski [Sat, 18 Jul 2015 16:12:01 +0000 (09:12 -0700)]
libwebp support for linux
Christoph M. Becker [Mon, 13 Jul 2015 22:29:05 +0000 (00:29 +0200)]
Replaced libvpx by libwebp (first draft; Windows only)
ext/gd/libgd/gd_webp.c has been taken from libgd[1]. Mainly, gd_error(X) has
been subsituted by zend_error(E_ERROR, X) and BGD_DECLARE(X) by X. Further
modifications are obvious from the diff.
All GD tests are passing, what raises hope, but we need more WebP tests,
anyway.
[1] <https://github.com/libgd/libgd/blob/
7ec030c4f1dae75ed5d82c3eed2abe6775742c75 /src/gd_webp.c>
Anatol Belski [Tue, 21 Jul 2015 07:22:45 +0000 (09:22 +0200)]
update news with bug #70022
Yasuo Ohgaki [Tue, 21 Jul 2015 03:59:23 +0000 (12:59 +0900)]
Change E_ERROR and some E_WARNING to E_RECOVERABLE_ERROR.
Christoph M. Becker [Tue, 21 Jul 2015 00:00:16 +0000 (02:00 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Add tests for json_last_error()/json_last_error_msg() failures
Kubo2 [Mon, 20 Jul 2015 11:05:44 +0000 (13:05 +0200)]
Add tests for json_last_error()/json_last_error_msg() failures
Christoph M. Becker [Mon, 20 Jul 2015 23:24:55 +0000 (01:24 +0200)]
updated NEWS
Christoph M. Becker [Mon, 20 Jul 2015 23:20:02 +0000 (01:20 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
updated NEWS
revised bug53156.phpt
Fix #53156: imagerectangle problem with point ordering
Christoph M. Becker [Mon, 20 Jul 2015 23:17:51 +0000 (01:17 +0200)]
updated NEWS
Christoph M. Becker [Mon, 20 Jul 2015 23:13:04 +0000 (01:13 +0200)]
Merge branch 'pull-request/1425' into PHP-5.6
* pull-request/1425:
revised bug53156.phpt
Fix #53156: imagerectangle problem with point ordering
Bob Weinand [Mon, 20 Jul 2015 22:06:10 +0000 (00:06 +0200)]
Exclude opcache from a few opcode related tests
Christoph M. Becker [Mon, 20 Jul 2015 21:50:40 +0000 (23:50 +0200)]
updated NEWS
Christoph M. Becker [Mon, 20 Jul 2015 21:44:04 +0000 (23:44 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
updated NEWS
Fix #66387: Stack overflow with imagefilltoborder
Christoph M. Becker [Mon, 20 Jul 2015 21:40:23 +0000 (23:40 +0200)]
updated NEWS
Christoph M. Becker [Mon, 20 Jul 2015 21:24:55 +0000 (23:24 +0200)]
Fix #66387: Stack overflow with imagefilltoborder
The stack overflow is caused by the recursive algorithm in combination with a
very large negative coordinate passed to gdImageFillToBorder(). As there is
already a clipping for large positive coordinates to the width and height of
the image, it seems to be consequent to clip to zero also.
Bob Weinand [Mon, 20 Jul 2015 21:25:50 +0000 (23:25 +0200)]
Fix various Windows issues (e.g. dir separators)
Nikita Popov [Mon, 20 Jul 2015 20:56:51 +0000 (22:56 +0200)]
Remove bogus exception_save() from FETCH_CLASS
There can't be no exception at the start of the op. Also would miss
the corresponding exception_restore().
Bob Weinand [Mon, 20 Jul 2015 20:45:05 +0000 (22:45 +0200)]
Fix readline/libedit build
Bob Weinand [Mon, 20 Jul 2015 19:57:00 +0000 (21:57 +0200)]
Do not use readline when not having a tty
This is important for e.g. run-tests.php
Bob Weinand [Mon, 20 Jul 2015 18:41:07 +0000 (20:41 +0200)]
Add show_unexecuted option to phpdbg_end_oplog()
Bob Weinand [Mon, 20 Jul 2015 16:00:32 +0000 (18:00 +0200)]
Move phpdbg tests to .phpt mechanism
Also add a few more in-depth tests related to $argv, breakpoints and uncaught exceptions
Bob Weinand [Mon, 20 Jul 2015 15:52:57 +0000 (17:52 +0200)]
Fix misbehaviors with uncaught exceptions and finally or eval
Bob Weinand [Mon, 20 Jul 2015 14:18:30 +0000 (16:18 +0200)]
Preserve argv consistency over multiple runs
Bob Weinand [Mon, 20 Jul 2015 00:18:50 +0000 (02:18 +0200)]
Fix info vars with refs/indirects
Bob Weinand [Sun, 19 Jul 2015 23:17:27 +0000 (01:17 +0200)]
Fix function/method breakpoint case sensitivity issues
Bob Weinand [Sun, 19 Jul 2015 18:32:46 +0000 (20:32 +0200)]
Always only halt upon first non-recv opcode in a function
Bob Weinand [Sat, 18 Jul 2015 21:55:59 +0000 (23:55 +0200)]
Make opcode breakpoints work again
Bob Weinand [Sat, 18 Jul 2015 21:36:37 +0000 (23:36 +0200)]
Do never clean stdin buffer away
Bob Weinand [Sat, 18 Jul 2015 21:35:59 +0000 (23:35 +0200)]
Fix use of already freed hashtable (wrong variable)
Bob Weinand [Sat, 18 Jul 2015 18:51:25 +0000 (20:51 +0200)]
Do not show "Script ended normally" upon forced rerun
Bob Weinand [Sat, 18 Jul 2015 18:37:44 +0000 (20:37 +0200)]
Do not display compilation success / normal script end in -rr mode
Christoph M. Becker [Mon, 20 Jul 2015 01:05:22 +0000 (03:05 +0200)]
revised bug53156.phpt
Christoph M. Becker [Mon, 20 Jul 2015 00:11:18 +0000 (02:11 +0200)]
Fix #53156: imagerectangle problem with point ordering
Contrary to imagefilledrectangle(), imagerectangle() has the documented
limitation that the given points have to be the upper left and the lower right
corner, respectively. However, libgd already caters to upper right / lower left
pairs, and not catering to the other two combinations seems to be an oversight.
Christoph M. Becker [Sun, 19 Jul 2015 21:11:11 +0000 (23:11 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Added basic test for imagewebp() and imagecreatefromwebp()
Christoph M. Becker [Sun, 19 Jul 2015 21:03:02 +0000 (23:03 +0200)]
Added basic test for imagewebp() and imagecreatefromwebp()
Christoph M. Becker [Sun, 19 Jul 2015 20:44:53 +0000 (22:44 +0200)]
updated NEWS
Christoph M. Becker [Sun, 19 Jul 2015 20:40:49 +0000 (22:40 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
updated NEWS
Fix #70102: imagecreatefromwebm() shifts colors
Christoph M. Becker [Sun, 19 Jul 2015 20:39:18 +0000 (22:39 +0200)]
updated NEWS
Christoph M. Becker [Sun, 19 Jul 2015 20:21:56 +0000 (22:21 +0200)]
Fix #70102: imagecreatefromwebm() shifts colors
libgd internally uses ARGB format, so we have to decode to ARGB instead of
RGBA.
Christoph M. Becker [Sun, 19 Jul 2015 20:01:20 +0000 (22:01 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
fixed Fix #66590, which may segfault
Christoph M. Becker [Sun, 19 Jul 2015 19:51:35 +0000 (21:51 +0200)]
fixed Fix #66590, which may segfault
Anatol Belski [Sun, 19 Jul 2015 18:06:31 +0000 (20:06 +0200)]
fix two clang errors on Windows
Anatol Belski [Sun, 19 Jul 2015 17:53:53 +0000 (19:53 +0200)]
exclude a non windows test
Christoph M. Becker [Sun, 19 Jul 2015 15:48:02 +0000 (17:48 +0200)]
updated NEWS
Christoph M. Becker [Sun, 19 Jul 2015 15:45:16 +0000 (17:45 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
updated NEWS
Fix #66590: imagewebp() doesn't pad to even length
Christoph M. Becker [Sun, 19 Jul 2015 15:43:44 +0000 (17:43 +0200)]
updated NEWS
Christoph M. Becker [Sun, 19 Jul 2015 15:32:53 +0000 (17:32 +0200)]
Fix #66590: imagewebp() doesn't pad to even length
The code in the bundled libgd uses libvpx and writes the riff manually. The
code generates the correct even size, but neglects the padding. It's possible
older versions of libwebp would decode this, but libwebp 0.4.0 does not.
Let's apply the patch supplied by one of the WebP developers.
Rasmus Lerdorf [Sun, 19 Jul 2015 14:04:40 +0000 (07:04 -0700)]
wddx_add_vars() returns a bool
Christoph M. Becker [Sat, 18 Jul 2015 20:57:02 +0000 (22:57 +0200)]
updated NEWS
Christoph M. Becker [Sat, 18 Jul 2015 20:52:39 +0000 (22:52 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fix #70096: Repeated iptcembed() adds superfluous FF bytes
Conflicts:
ext/standard/iptc.c
Christoph M. Becker [Sat, 18 Jul 2015 20:50:11 +0000 (22:50 +0200)]
updated NEWS
Christoph M. Becker [Sat, 18 Jul 2015 20:48:54 +0000 (22:48 +0200)]
Fix #70096: Repeated iptcembed() adds superfluous FF bytes
When there is already an APP13 marker segment in the file, iptcembed() doesn't
skip the first byte (0xFF) of this segment, what leads to unnecessary and
potentially invalid duplication of this byte. This patch fixes this issue.
Nikita Popov [Sat, 18 Jul 2015 19:24:28 +0000 (21:24 +0200)]
Check mbfl_filt_put_invalid_char return value
And fix some libmbfl warnings