]>
granicus.if.org Git - php/log
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 [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
Nikita Popov [Sat, 18 Jul 2015 19:15:18 +0000 (21:15 +0200)]
Deduplicate usort code
Christoph M. Becker [Sat, 18 Jul 2015 19:35:54 +0000 (21:35 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
fixed PHPT that is always being skipped or otherwise would fail
Christoph M. Becker [Sat, 18 Jul 2015 19:33:20 +0000 (21:33 +0200)]
fixed PHPT that is always being skipped or otherwise would fail
Nikita Popov [Sat, 18 Jul 2015 18:04:22 +0000 (20:04 +0200)]
Correctly handle zend_hash_sort failure
This can't actually happen right now, but should it become possible
we won't be leaking everything anymore.
Nikita Popov [Sat, 18 Jul 2015 17:58:42 +0000 (19:58 +0200)]
Fix usort modification detection
This would delref the wrong array, leading to a segfault.
Jakub Zelenka [Sat, 18 Jul 2015 16:41:17 +0000 (17:41 +0100)]
Regenerate bison and re2c files in json
Nikita Popov [Fri, 17 Jul 2015 19:08:15 +0000 (21:08 +0200)]
Partially fix XSLT warnings
The two remaining issues seem to be genuine problems. We're treating
node->children as a string, even though it's actually an xmlNode.
The same code exists twice in xpath.c. In all cases gcov shows no
coverage for it.
Nikita Popov [Fri, 17 Jul 2015 18:48:42 +0000 (20:48 +0200)]
More warning fixes
Nikita Popov [Fri, 17 Jul 2015 18:31:40 +0000 (20:31 +0200)]
Fix simplexml warnings
Anatol Belski [Fri, 17 Jul 2015 18:30:21 +0000 (20:30 +0200)]
fix duplicated line
Nikita Popov [Fri, 17 Jul 2015 18:18:25 +0000 (20:18 +0200)]
Various warning fixes
Nikita Popov [Fri, 17 Jul 2015 17:48:06 +0000 (19:48 +0200)]
Fix zlib_filter warnings
Nikita Popov [Fri, 17 Jul 2015 17:08:08 +0000 (19:08 +0200)]
Remove --with-t1lib from travis build
Nikita Popov [Fri, 17 Jul 2015 17:02:43 +0000 (19:02 +0200)]
Always use libtool --silent
We don't need this spam for debug builds. Now make --quiet does
something useful for debug builds as well.
Nikita Popov [Fri, 17 Jul 2015 15:48:02 +0000 (17:48 +0200)]
Fix mysqlnd warnings
Nikita Popov [Fri, 17 Jul 2015 15:19:06 +0000 (17:19 +0200)]
Fixed signed/unsigned warnings in wddx
Also added extra const annotation to zend_memnstr.
Nikita Popov [Fri, 17 Jul 2015 14:51:54 +0000 (16:51 +0200)]
Remove dead goto label in phpdbg_cmd.c
Nikita Popov [Fri, 17 Jul 2015 14:49:34 +0000 (16:49 +0200)]
Switch asprintf to spprintf in phpdbg opcode dump
Also use %td where appropriate, a lot of the values are ptrdiff
based.
Fix a leak in phpdbg_frame.c.
Nikita Popov [Thu, 16 Jul 2015 21:17:29 +0000 (23:17 +0200)]
Make s(tr)pprintf infallible
spprintf now always creates a buffer and strpprintf always returns
a zend_string. Previously, if the result of the format happened to
be empty, the spprintf buffer would be set to NULL and strpprintf
would return NULL.
Anatol Belski [Fri, 17 Jul 2015 13:14:25 +0000 (15:14 +0200)]
fix file cache path calculation at all the places
moved the corresponding code into a separte function while on that
Anatol Belski [Fri, 17 Jul 2015 11:50:40 +0000 (13:50 +0200)]
fix path handling for the file cache
Xinchen Hui [Fri, 17 Jul 2015 08:09:11 +0000 (16:09 +0800)]
Donot use one_char_string
Xinchen Hui [Fri, 17 Jul 2015 07:56:28 +0000 (15:56 +0800)]
Merge branch 'master' of git.php.net:php-src
Xinchen Hui [Fri, 17 Jul 2015 07:55:34 +0000 (15:55 +0800)]
Fixed bug #70089 (segfault at ZEND_FETCH_DIM_W_SPEC_VAR_CONST_HANDLER ())
Nikita Popov [Thu, 16 Jul 2015 20:48:56 +0000 (22:48 +0200)]
Ignore getcwd return in zend_compile
To do this move the php_ignore_value macro to ZEND_IGNORE_VALUE.
Nikita Popov [Thu, 16 Jul 2015 20:39:11 +0000 (22:39 +0200)]
Explicitly ignore mblen(NULL, 0) retval
nikita2206 [Thu, 9 Jul 2015 14:43:50 +0000 (18:43 +0400)]
Handle empty (NULL) stmt in ast_export
Bob Weinand [Thu, 16 Jul 2015 17:12:38 +0000 (19:12 +0200)]
Merge remote-tracking branch 'origin/PHP-5.6'
Anatol Belski [Thu, 16 Jul 2015 13:04:41 +0000 (15:04 +0200)]
forked test for windows
Xinchen Hui [Thu, 16 Jul 2015 10:32:42 +0000 (18:32 +0800)]
Fixed bug #70079 (Segmentation fault after more than 100 SoapClient calls)
Bob Weinand [Thu, 16 Jul 2015 08:28:59 +0000 (10:28 +0200)]
Cleanup exception displaying code in phpdbg
Bob Weinand [Thu, 16 Jul 2015 07:29:43 +0000 (09:29 +0200)]
Fix test; this should properly emit a fatal error, just as every other by-ref assignment to an overloaded object
Bob Weinand [Thu, 16 Jul 2015 07:24:57 +0000 (09:24 +0200)]
Fix test; this should properly throw an Error, just as every other by-ref assignment to an overloaded object
Christopher Jones [Thu, 16 Jul 2015 03:06:35 +0000 (13:06 +1000)]
More OCI8 diff fixes (Rajendra)
Bob Weinand [Wed, 15 Jul 2015 20:46:53 +0000 (22:46 +0200)]
Backport fix for bug #70083 to PHP-5.6
Bob Weinand [Wed, 15 Jul 2015 20:36:42 +0000 (22:36 +0200)]
Fixed bug #70083 (Use after free with assign by ref on overloaded objects)
Bob Weinand [Wed, 15 Jul 2015 20:30:12 +0000 (22:30 +0200)]
Fix crash on non-debug for phpdbg_end_oplog()
Rasmus Lerdorf [Wed, 15 Jul 2015 16:59:31 +0000 (09:59 -0700)]
unserialize() takes a 2nd optional arg and it can't be a bool
Xinchen Hui [Wed, 15 Jul 2015 02:55:41 +0000 (10:55 +0800)]
Improve the conditions(save one comparison)
Xinchen Hui [Wed, 15 Jul 2015 02:38:23 +0000 (10:38 +0800)]
Fixed segfault if opcache is disabled and with file_cache
Xinchen Hui [Tue, 14 Jul 2015 10:58:43 +0000 (18:58 +0800)]
Fixed bug #70067 (Cross-compile failure in opcache when SIZEOF_ZEND_LONG < SIZEOF_SIZE_T)
Lior Kaplan [Tue, 14 Jul 2015 09:00:26 +0000 (12:00 +0300)]
Format alignment (needed for news2html)
Lior Kaplan [Tue, 14 Jul 2015 08:28:39 +0000 (11:28 +0300)]
Format alignment (needed for news2html)
Christoph M. Becker [Tue, 14 Jul 2015 08:11:50 +0000 (10:11 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fix #53840: Misleading extension entries in php.ini
Christoph M. Becker [Tue, 14 Jul 2015 08:09:29 +0000 (10:09 +0200)]
Fix #53840: Misleading extension entries in php.ini
As of PHP 5.3.0 the php_pspell.dll is not delivered anymore with the Windows
binaries, and according to bug #47464 that's highly unlike to change. So it's
appropriate to remove the respective extension entry from php.ini.
Christoph M. Becker [Tue, 14 Jul 2015 08:02:25 +0000 (10:02 +0200)]
Merge branch 'master' of http://git.php.net/repository/php-src
# By Bob Weinand (5) and others
# Via Bob Weinand
* 'master' of http://git.php.net/repository/php-src:
We want to track phpdbg bugs in official bug tracker now; updated URL
Show also runtime-bound functions/classes/methods with phpdbg -p
One less comparison
Fix potential segfault
Closures only have {closure}() as method name Prefixing a class name does not make sense as they may be rebound to another scope, where this will be confusing
Fix __METHOD__ in functions nested into methods
Init variable to NULL before passing to zpp
Format alignment
PHP 7 OCI8: fix bug57702.phpt regression
Bob Weinand [Tue, 14 Jul 2015 06:31:44 +0000 (08:31 +0200)]
We want to track phpdbg bugs in official bug tracker now; updated URL
Bob Weinand [Tue, 14 Jul 2015 04:28:15 +0000 (06:28 +0200)]
Show also runtime-bound functions/classes/methods with phpdbg -p
Rasmus Lerdorf [Tue, 14 Jul 2015 02:44:51 +0000 (19:44 -0700)]
One less comparison
Rasmus Lerdorf [Tue, 14 Jul 2015 02:38:55 +0000 (19:38 -0700)]
Fix potential segfault
Bob Weinand [Tue, 14 Jul 2015 00:52:09 +0000 (02:52 +0200)]
Closures only have {closure}() as method name
Prefixing a class name does not make sense as they may be rebound to another scope, where this will be confusing
Bob Weinand [Tue, 14 Jul 2015 00:37:35 +0000 (02:37 +0200)]
Fix __METHOD__ in functions nested into methods
Bob Weinand [Mon, 13 Jul 2015 23:55:32 +0000 (01:55 +0200)]
Init variable to NULL before passing to zpp
Lior Kaplan [Mon, 13 Jul 2015 23:43:11 +0000 (02:43 +0300)]
Format alignment
Christopher Jones [Mon, 13 Jul 2015 22:39:59 +0000 (08:39 +1000)]
PHP 7 OCI8: fix bug57702.phpt regression
Christoph M. Becker [Mon, 13 Jul 2015 22:30:17 +0000 (00:30 +0200)]
Merge branch 'master' of http://git.php.net/repository/php-src
# By Anatol Belski
# Via Anatol Belski
* 'master' of http://git.php.net/repository/php-src:
remove #ifdef
remove comment, it's not right
Anatol Belski [Mon, 13 Jul 2015 22:12:35 +0000 (00:12 +0200)]
remove #ifdef
Anatol Belski [Mon, 13 Jul 2015 21:42:40 +0000 (23:42 +0200)]
remove comment, it's not right
Christoph M. Becker [Mon, 13 Jul 2015 20:39:12 +0000 (22:39 +0200)]
Merge branch 'master' of http://git.php.net/repository/php-src
# By Christoph M. Becker (6) and others
* 'master' of http://git.php.net/repository/php-src:
updated NEWS
updated NEWS
Fix #66882: imagerotate by -90 degrees truncates image by 1px
update NEWS
Fixed bug #70065 curl_getinfo() returns corrupted values
Revert SplFileInfo BC break while keeping fix for assertion removal
Fix issue with SplFileInfo::getExtension() on files with only a leading '.' character
updated NEWS
updated NEWS
Fix #70064: imagescale(..., IMG_BICUBIC) leaks memory
Christoph M. Becker [Mon, 13 Jul 2015 20:33:43 +0000 (22:33 +0200)]
updated NEWS