]>
granicus.if.org Git - php/log
Jakub Zelenka [Tue, 18 Aug 2015 18:46:59 +0000 (19:46 +0100)]
Fix possible overflow in openssl_pbkdf2
Especially key_length would lead to the crash if it overflowed
to the negative value.
Anatol Belski [Tue, 18 Aug 2015 18:31:37 +0000 (20:31 +0200)]
NEWS for next
Joe Watkins [Tue, 18 Aug 2015 15:37:38 +0000 (16:37 +0100)]
Fix mangled property names on anon classes
Côme Bernigaud [Tue, 18 Aug 2015 15:26:46 +0000 (17:26 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Patch from Rainer Jung to provide Solaris LDAP support
Conflicts:
ext/ldap/ldap.c
Côme Bernigaud [Tue, 18 Aug 2015 15:17:28 +0000 (17:17 +0200)]
Merge branch 'pull-request/1477' into PHP-5.6
* pull-request/1477:
Patch from Rainer Jung to provide Solaris LDAP support
Côme Bernigaud [Tue, 18 Aug 2015 14:52:44 +0000 (16:52 +0200)]
Patch from Rainer Jung to provide Solaris LDAP support
Xinchen Hui [Tue, 18 Aug 2015 14:51:09 +0000 (22:51 +0800)]
Merge branch 'patch-gdbinit' of https://github.com/adsr/php-src
Xinchen Hui [Tue, 18 Aug 2015 13:46:02 +0000 (21:46 +0800)]
Fixed memleak in Zend/tests/bug39297
Xinchen Hui [Tue, 18 Aug 2015 13:45:19 +0000 (21:45 +0800)]
Fixed bug #70288 (Apache crash related to ZEND_SEND_REF)
Bob Weinand [Tue, 18 Aug 2015 13:01:24 +0000 (15:01 +0200)]
Fixed bug #70293 (Crash with specific assertions and zend.assertions=-1)
Julien Pauli [Tue, 18 Aug 2015 12:32:56 +0000 (14:32 +0200)]
Removed unused code
Bob Weinand [Tue, 18 Aug 2015 12:04:48 +0000 (14:04 +0200)]
Woops, accidentally made TS build fail...
Bob Weinand [Tue, 18 Aug 2015 11:59:37 +0000 (13:59 +0200)]
Revert fix for nicer truncation on log_errors_max_len
Christoph M. Becker [Tue, 18 Aug 2015 11:44:14 +0000 (13:44 +0200)]
Fix #70289: Different sort in php7 (and hhvm) compared to php5
We add a respective note to UPGRADING. Furthermore, as renaming of zend_qsort()
and the new zend_insert_sort() are irrelevant for user-land, we move this
info to UPGRADING.INTERNALS.
Xinchen Hui [Tue, 18 Aug 2015 11:12:52 +0000 (19:12 +0800)]
Lost this entry while merging
Xinchen Hui [Tue, 18 Aug 2015 11:07:26 +0000 (19:07 +0800)]
Merge branch 'master' of git.php.net:php-src
Bob Weinand [Tue, 18 Aug 2015 10:48:06 +0000 (12:48 +0200)]
Better fix for exception traces truncation with anon classes
Xinchen Hui [Tue, 18 Aug 2015 10:33:07 +0000 (18:33 +0800)]
Fixed bug #70272 (Segfault in pdo_mysql)
Xinchen Hui [Tue, 18 Aug 2015 10:07:31 +0000 (18:07 +0800)]
Improved fix for bug #70262
Xinchen Hui [Tue, 18 Aug 2015 10:07:25 +0000 (18:07 +0800)]
Merge branch 'master' of git.php.net:php-src
Xinchen Hui [Tue, 18 Aug 2015 10:04:26 +0000 (18:04 +0800)]
It should not be skip
Xinchen Hui [Tue, 18 Aug 2015 10:03:34 +0000 (18:03 +0800)]
Skip the test with valgrind
Dmitry Stogov [Tue, 18 Aug 2015 09:03:04 +0000 (12:03 +0300)]
Revert "Do not truncate exception traces upon anon class name"
This reverts commit
b0c77fb80c9bceac37ec266f2d5a20131755c44a .
Michael Wallner [Tue, 18 Aug 2015 06:19:59 +0000 (08:19 +0200)]
fix inheritance of internal interfaces with constants
Michael Wallner [Tue, 18 Aug 2015 06:18:57 +0000 (08:18 +0200)]
fix printzv (refcount)
Bob Weinand [Tue, 18 Aug 2015 01:27:56 +0000 (03:27 +0200)]
Do not truncate exception traces upon anon class name
Anatol Belski [Mon, 17 Aug 2015 21:11:02 +0000 (23:11 +0200)]
fix test
This fail has nothing together with any changes in run-tests.php
Using run-tests.php from the 5.5 branch brings the same result. So
merely it is about how PHP7 handles and buffers errors.
Anatol Belski [Mon, 17 Aug 2015 09:34:33 +0000 (11:34 +0200)]
TSRM_TLS should be usable in NTS build
Christoph M. Becker [Mon, 17 Aug 2015 19:43:28 +0000 (21:43 +0200)]
no need to skip this test if no dictionaries are installed
Christoph M. Becker [Mon, 17 Aug 2015 19:42:42 +0000 (21:42 +0200)]
Merge branch 'pull-request/1473'
* pull-request/1473:
new test for enchant pwl file
marcosptf [Sun, 16 Aug 2015 18:52:55 +0000 (15:52 -0300)]
new test for enchant pwl file
Jakub Zelenka [Mon, 17 Aug 2015 17:43:02 +0000 (18:43 +0100)]
Check and use correct signature_len type for EVP_VerifyFinal
Christoph M. Becker [Mon, 17 Aug 2015 17:35:10 +0000 (19:35 +0200)]
updated NEWS
Christoph M. Becker [Mon, 17 Aug 2015 17:33:49 +0000 (19:33 +0200)]
fixed changed error message in test
Christoph M. Becker [Mon, 17 Aug 2015 17:28:46 +0000 (19:28 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fix #70277: new DateTimeZone($foo) is ignoring text after null byte
Resolved conflicts:
ext/date/php_date.c
Christoph M. Becker [Mon, 17 Aug 2015 15:27:13 +0000 (17:27 +0200)]
updated NEWS
Julien Pauli [Mon, 17 Aug 2015 15:18:25 +0000 (17:18 +0200)]
Removed dead code
Julien Pauli [Mon, 17 Aug 2015 14:24:38 +0000 (16:24 +0200)]
Renamed struct member
<resolv.h> has a #define for _res which makes compilation
fail if included before php_output.h
Christoph M. Becker [Mon, 17 Aug 2015 13:58:37 +0000 (15:58 +0200)]
Fix #70277: new DateTimeZone($foo) is ignoring text after null byte
The DateTimeZone constructors are not binary safe. They're parsing the timezone
as string, but discard the length when calling timezone_initialize(). This
patch adds a tz_len parameter and a respective check to timezone_initialize().
Dmitry Stogov [Mon, 17 Aug 2015 09:58:14 +0000 (12:58 +0300)]
Fixed bug #70262 (Accessing array crashes PHP 7.0beta3)
Dmitry Stogov [Mon, 17 Aug 2015 09:54:33 +0000 (12:54 +0300)]
Fixed tests on 32-bit systems
Derick Rethans [Sun, 16 Aug 2015 20:27:44 +0000 (21:27 +0100)]
Merge branch 'PHP-5.6'
Derick Rethans [Sun, 16 Aug 2015 20:26:11 +0000 (21:26 +0100)]
Fixed sorting order
It needs to match the strcasecmp in parse_tz.c.
Derick Rethans [Sun, 16 Aug 2015 20:26:12 +0000 (21:26 +0100)]
Updated to version 2015.6 (2015f)
Derick Rethans [Sun, 16 Aug 2015 20:26:12 +0000 (21:26 +0100)]
Empty merge
Derick Rethans [Sun, 16 Aug 2015 20:26:11 +0000 (21:26 +0100)]
Updated to version 2015.6 (2015f)
Jakub Zelenka [Sun, 16 Aug 2015 14:43:00 +0000 (15:43 +0100)]
Fix some int overflows in openssl
There might be more. I just did a quick check for enc/dec, rand
and one BN call.
Anatol Belski [Sat, 15 Aug 2015 15:29:58 +0000 (17:29 +0200)]
update NEWS
Anatol Belski [Sat, 15 Aug 2015 10:03:47 +0000 (12:03 +0200)]
fix incompatible types
namely between hash_data_type and st_data_t
Anatol Belski [Sat, 15 Aug 2015 09:39:06 +0000 (11:39 +0200)]
add SIZEOF_SIZE_T to oniguruma
Anatol Belski [Sat, 15 Aug 2015 09:26:20 +0000 (11:26 +0200)]
fix pointer truncation cases
Tjerk Meesters [Sat, 15 Aug 2015 08:29:12 +0000 (16:29 +0800)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Updated NEWS for #70157
Fixed #70157 parse_ini_string() segmentation fault with INI_SCANNER_TYPED
Tjerk Meesters [Sat, 15 Aug 2015 07:13:01 +0000 (15:13 +0800)]
Updated NEWS for #70157
Tjerk Meesters [Sat, 15 Aug 2015 07:11:31 +0000 (15:11 +0800)]
Merge branch 'bug70157' into PHP-5.6
* bug70157:
Fixed #70157 parse_ini_string() segmentation fault with INI_SCANNER_TYPED
Tjerk Meesters [Sat, 15 Aug 2015 06:44:07 +0000 (14:44 +0800)]
Fixed #70157 parse_ini_string() segmentation fault with INI_SCANNER_TYPED
Christoph M. Becker [Sat, 15 Aug 2015 00:27:09 +0000 (02:27 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
fixed wrong params in proto
Christoph M. Becker [Sat, 15 Aug 2015 00:23:56 +0000 (02:23 +0200)]
fixed wrong params in proto
Adam Saponara [Fri, 14 Aug 2015 18:22:55 +0000 (14:22 -0400)]
Prevent warning when printing arrays in gdb
Christoph M. Becker [Fri, 14 Aug 2015 15:21:09 +0000 (17:21 +0200)]
Merge branch 'master' of https://git.php.net/repository/php-src
# By Nikita Popov
# Via Nikita Popov
* 'master' of https://git.php.net/repository/php-src:
Executed file can be NULL
Christoph M. Becker [Fri, 14 Aug 2015 15:19:29 +0000 (17:19 +0200)]
updated NEWS
Christoph M. Becker [Fri, 14 Aug 2015 15:18:35 +0000 (17:18 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fix #70264: CLI server directory traversal
Nikita Popov [Fri, 14 Aug 2015 15:15:56 +0000 (17:15 +0200)]
Executed file can be NULL
So revert this part to what it was originally.
Christoph M. Becker [Fri, 14 Aug 2015 15:11:33 +0000 (17:11 +0200)]
updated NEWS
Christoph M. Becker [Fri, 14 Aug 2015 14:56:40 +0000 (16:56 +0200)]
Fix #70264: CLI server directory traversal
On Windows the built-in webserver doesn't prevent directory traversal when
backslashes are used as path component separators. Even though that is not a
security issue (the CLI webserver is meant for testing only), we fix that by
replacing backslashes in the path with slashes on Windows, because backslashes
may be valid characters for file names on other systems, but not on Windows.
Nikita Popov [Fri, 14 Aug 2015 15:04:33 +0000 (17:04 +0200)]
Fix leak in previous commit
Turns out zend_update_property_str already does the copy implicitly.
Nikita Popov [Fri, 14 Aug 2015 14:16:27 +0000 (16:16 +0200)]
Don't copy zend_strings during exception creation
Minor optimization...
Anatol Belski [Fri, 14 Aug 2015 12:12:22 +0000 (14:12 +0200)]
fix array size calculation for range, related to bug #70239
Anatol Belski [Fri, 14 Aug 2015 12:10:27 +0000 (14:10 +0200)]
add range() tests
Anatol Belski [Thu, 13 Aug 2015 16:16:26 +0000 (18:16 +0200)]
Fixed bug #70239 Creating a huge array doesn't result in exhausted, but segfault
Christoph M. Becker [Fri, 14 Aug 2015 12:32:56 +0000 (14:32 +0200)]
updated NEWS
Christoph M. Becker [Fri, 14 Aug 2015 12:25:19 +0000 (14:25 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fix #70266 (DateInterval::__construct.interval_spec is not supposed to be optional)
Christoph M. Becker [Fri, 14 Aug 2015 12:20:37 +0000 (14:20 +0200)]
updated NEWS
Christoph M. Becker [Fri, 14 Aug 2015 12:19:12 +0000 (14:19 +0200)]
Fix #70266 (DateInterval::__construct.interval_spec is not supposed to be optional)
The required_num_args argument of ZEND_BEGIN_ARG_INFO_EX() has to be 1.
Xinchen Hui [Fri, 14 Aug 2015 09:09:27 +0000 (17:09 +0800)]
Remove useless insert
Xinchen Hui [Fri, 14 Aug 2015 08:20:53 +0000 (16:20 +0800)]
Fixed dumpbt
Dmitry Stogov [Fri, 14 Aug 2015 07:59:39 +0000 (10:59 +0300)]
Set expectations
Adam Harvey [Thu, 13 Aug 2015 19:40:46 +0000 (12:40 -0700)]
We don't need CVS/SVN keywords in UPGRADING.
Adam Harvey [Thu, 13 Aug 2015 19:39:41 +0000 (12:39 -0700)]
We did eventually decide it was PHP 7.0, so make it so.
Christoph M. Becker [Thu, 13 Aug 2015 18:33:59 +0000 (20:33 +0200)]
Merge branch 'pull-request/1454'
* pull-request/1454:
Docs for find_tested.php
Xinchen Hui [Thu, 13 Aug 2015 15:38:39 +0000 (23:38 +0800)]
Simplify the macro (HT_DATA_SIZE/HT_HASH_SIZE is not used outside Zend)
Xinchen Hui [Thu, 13 Aug 2015 15:02:15 +0000 (23:02 +0800)]
Fixed similar issues(segfault on OOM)
Xinchen Hui [Thu, 13 Aug 2015 14:42:18 +0000 (22:42 +0800)]
Fixed segfault while OOM in pack_to_hash
Xinchen Hui [Thu, 13 Aug 2015 14:31:59 +0000 (22:31 +0800)]
Fixed tests(I am not sure, these tests seems strange, anyway it passes
locally now)
Christoph M. Becker [Thu, 13 Aug 2015 12:30:05 +0000 (14:30 +0200)]
updated NEWS
Christoph M. Becker [Thu, 13 Aug 2015 12:28:16 +0000 (14:28 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fix #70232: Incorrect bump-along behavior with \K and empty string match
Resolved conflicts:
ext/pcre/php_pcre.c
Christoph M. Becker [Thu, 13 Aug 2015 12:21:17 +0000 (14:21 +0200)]
updated NEWS
Christoph M. Becker [Thu, 13 Aug 2015 12:20:04 +0000 (14:20 +0200)]
Fix #70232: Incorrect bump-along behavior with \K and empty string match
To do global matching (/g), for every empty match we have to do a second match
with PCRE_NOTEMPTY turned on. That may fail, however, when the \K escape
sequence is involved. For this purpose libpcre 8.0 introduced the
PCRE_NOTEMPTY_ATSTART flag, which we will use if available, and otherwise fall
back to the old (possibly buggy) behavior.
Dmitry Stogov [Thu, 13 Aug 2015 10:56:29 +0000 (13:56 +0300)]
Get rid of implicit type casting in GC_*() macros in Zend/zend_types.h.
This prevented compilation warnings and disclosed few incorrect usages in Zend/zend_vm_def.h and ext/dom/xpath.c.
Now explicit type casting may be required on call site.
This may break some C extension code, but it shoulfn't be a problem to add explicit casting.
Derick Rethans [Thu, 13 Aug 2015 10:07:39 +0000 (11:07 +0100)]
Merge branch 'PHP-5.6'
Derick Rethans [Thu, 13 Aug 2015 10:07:16 +0000 (11:07 +0100)]
Of course, we support v2 in PHP 5.6 as well.
Derick Rethans [Thu, 13 Aug 2015 09:54:06 +0000 (10:54 +0100)]
Updated to version 2015.6 (2015f)
Derick Rethans [Thu, 13 Aug 2015 09:54:05 +0000 (10:54 +0100)]
Empty merge
Derick Rethans [Thu, 13 Aug 2015 09:54:03 +0000 (10:54 +0100)]
Updated to version 2015.6 (2015f)
Derick Rethans [Thu, 13 Aug 2015 09:50:28 +0000 (10:50 +0100)]
Tell timelib we support v2
Xinchen Hui [Thu, 13 Aug 2015 05:39:31 +0000 (13:39 +0800)]
Add entry for zend_memnstr change
Xinchen Hui [Thu, 13 Aug 2015 05:30:50 +0000 (13:30 +0800)]
Merge branch 'master' of git.php.net:php-src
Xinchen Hui [Thu, 13 Aug 2015 05:30:25 +0000 (13:30 +0800)]
Fixed bug #70250 (extract() turns array elements to references)
Christopher Jones [Thu, 13 Aug 2015 05:01:24 +0000 (15:01 +1000)]
Merge branch 'PHP-5.6'
Christopher Jones [Thu, 13 Aug 2015 05:01:01 +0000 (15:01 +1000)]
PDO_OCI is not experimental
Xinchen Hui [Thu, 13 Aug 2015 04:19:35 +0000 (12:19 +0800)]
zend_hash_resize seems useless, use zend_hash_extend