]> granicus.if.org Git - php/log
php
9 years agoFixed bug #70288 (Apache crash related to ZEND_SEND_REF)
Xinchen Hui [Tue, 18 Aug 2015 13:45:19 +0000 (21:45 +0800)]
Fixed bug #70288 (Apache crash related to ZEND_SEND_REF)

9 years agoFixed bug #70293 (Crash with specific assertions and zend.assertions=-1)
Bob Weinand [Tue, 18 Aug 2015 13:01:24 +0000 (15:01 +0200)]
Fixed bug #70293 (Crash with specific assertions and zend.assertions=-1)

9 years agoRemoved unused code
Julien Pauli [Tue, 18 Aug 2015 12:32:56 +0000 (14:32 +0200)]
Removed unused code

9 years agoWoops, accidentally made TS build fail...
Bob Weinand [Tue, 18 Aug 2015 12:04:48 +0000 (14:04 +0200)]
Woops, accidentally made TS build fail...

9 years agoRevert fix for nicer truncation on log_errors_max_len
Bob Weinand [Tue, 18 Aug 2015 11:59:37 +0000 (13:59 +0200)]
Revert fix for nicer truncation on log_errors_max_len

9 years agoFix #70289: Different sort in php7 (and hhvm) compared to php5
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.

9 years agoLost this entry while merging
Xinchen Hui [Tue, 18 Aug 2015 11:12:52 +0000 (19:12 +0800)]
Lost this entry while merging

9 years agoMerge branch 'master' of git.php.net:php-src
Xinchen Hui [Tue, 18 Aug 2015 11:07:26 +0000 (19:07 +0800)]
Merge branch 'master' of git.php.net:php-src

9 years agoBetter fix for exception traces truncation with anon classes
Bob Weinand [Tue, 18 Aug 2015 10:48:06 +0000 (12:48 +0200)]
Better fix for exception traces truncation with anon classes

9 years agoFixed bug #70272 (Segfault in pdo_mysql)
Xinchen Hui [Tue, 18 Aug 2015 10:33:07 +0000 (18:33 +0800)]
Fixed bug #70272 (Segfault in pdo_mysql)

9 years agoImproved fix for bug #70262
Xinchen Hui [Tue, 18 Aug 2015 10:07:31 +0000 (18:07 +0800)]
Improved fix for bug #70262

9 years agoMerge branch 'master' of git.php.net:php-src
Xinchen Hui [Tue, 18 Aug 2015 10:07:25 +0000 (18:07 +0800)]
Merge branch 'master' of git.php.net:php-src

9 years agoIt should not be skip
Xinchen Hui [Tue, 18 Aug 2015 10:04:26 +0000 (18:04 +0800)]
It should not be skip

9 years agoSkip the test with valgrind
Xinchen Hui [Tue, 18 Aug 2015 10:03:34 +0000 (18:03 +0800)]
Skip the test with valgrind

9 years agoRevert "Do not truncate exception traces upon anon class name"
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.

9 years agofix inheritance of internal interfaces with constants
Michael Wallner [Tue, 18 Aug 2015 06:19:59 +0000 (08:19 +0200)]
fix inheritance of internal interfaces with constants

9 years agofix printzv (refcount)
Michael Wallner [Tue, 18 Aug 2015 06:18:57 +0000 (08:18 +0200)]
fix printzv (refcount)

9 years agoDo not truncate exception traces upon anon class name
Bob Weinand [Tue, 18 Aug 2015 01:27:56 +0000 (03:27 +0200)]
Do not truncate exception traces upon anon class name

9 years agofix test
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.

9 years agoTSRM_TLS should be usable in NTS build
Anatol Belski [Mon, 17 Aug 2015 09:34:33 +0000 (11:34 +0200)]
TSRM_TLS should be usable in NTS build

9 years agono need to skip this test if no dictionaries are installed
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

9 years agoMerge branch 'pull-request/1473'
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

9 years agonew test for enchant pwl file
marcosptf [Sun, 16 Aug 2015 18:52:55 +0000 (15:52 -0300)]
new test for enchant pwl file

9 years agoCheck and use correct signature_len type for EVP_VerifyFinal
Jakub Zelenka [Mon, 17 Aug 2015 17:43:02 +0000 (18:43 +0100)]
Check and use correct signature_len type for EVP_VerifyFinal

9 years agoupdated NEWS
Christoph M. Becker [Mon, 17 Aug 2015 17:35:10 +0000 (19:35 +0200)]
updated NEWS

9 years agofixed changed error message in test
Christoph M. Becker [Mon, 17 Aug 2015 17:33:49 +0000 (19:33 +0200)]
fixed changed error message in test

9 years agoMerge branch 'PHP-5.6'
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

9 years agoupdated NEWS
Christoph M. Becker [Mon, 17 Aug 2015 15:27:13 +0000 (17:27 +0200)]
updated NEWS

9 years agoRemoved dead code
Julien Pauli [Mon, 17 Aug 2015 15:18:25 +0000 (17:18 +0200)]
Removed dead code

9 years agoRenamed struct member
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

9 years agoFix #70277: new DateTimeZone($foo) is ignoring text after null byte
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().

9 years agoFixed bug #70262 (Accessing array crashes PHP 7.0beta3)
Dmitry Stogov [Mon, 17 Aug 2015 09:58:14 +0000 (12:58 +0300)]
Fixed bug #70262 (Accessing array crashes PHP 7.0beta3)

9 years agoFixed tests on 32-bit systems
Dmitry Stogov [Mon, 17 Aug 2015 09:54:33 +0000 (12:54 +0300)]
Fixed tests on 32-bit systems

9 years agoMerge branch 'PHP-5.6'
Derick Rethans [Sun, 16 Aug 2015 20:27:44 +0000 (21:27 +0100)]
Merge branch 'PHP-5.6'

9 years agoFixed sorting order
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.

9 years agoUpdated to version 2015.6 (2015f)
Derick Rethans [Sun, 16 Aug 2015 20:26:12 +0000 (21:26 +0100)]
Updated to version 2015.6 (2015f)

9 years agoEmpty merge
Derick Rethans [Sun, 16 Aug 2015 20:26:12 +0000 (21:26 +0100)]
Empty merge

9 years agoUpdated to version 2015.6 (2015f)
Derick Rethans [Sun, 16 Aug 2015 20:26:11 +0000 (21:26 +0100)]
Updated to version 2015.6 (2015f)

9 years agoFix some int overflows in openssl
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.

9 years agoupdate NEWS
Anatol Belski [Sat, 15 Aug 2015 15:29:58 +0000 (17:29 +0200)]
update NEWS

9 years agofix incompatible types
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

9 years agoadd SIZEOF_SIZE_T to oniguruma
Anatol Belski [Sat, 15 Aug 2015 09:39:06 +0000 (11:39 +0200)]
add SIZEOF_SIZE_T to oniguruma

9 years agofix pointer truncation cases
Anatol Belski [Sat, 15 Aug 2015 09:26:20 +0000 (11:26 +0200)]
fix pointer truncation cases

9 years agoMerge branch 'PHP-5.6'
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

9 years agoUpdated NEWS for #70157
Tjerk Meesters [Sat, 15 Aug 2015 07:13:01 +0000 (15:13 +0800)]
Updated NEWS for #70157

9 years agoMerge branch 'bug70157' into PHP-5.6
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

9 years agoFixed #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

9 years agoMerge branch 'PHP-5.6'
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

9 years agofixed wrong params in proto
Christoph M. Becker [Sat, 15 Aug 2015 00:23:56 +0000 (02:23 +0200)]
fixed wrong params in proto

9 years agoMerge branch 'master' of https://git.php.net/repository/php-src
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

9 years agoupdated NEWS
Christoph M. Becker [Fri, 14 Aug 2015 15:19:29 +0000 (17:19 +0200)]
updated NEWS

9 years agoMerge branch 'PHP-5.6'
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

9 years agoExecuted file can be NULL
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.

9 years agoupdated NEWS
Christoph M. Becker [Fri, 14 Aug 2015 15:11:33 +0000 (17:11 +0200)]
updated NEWS

9 years agoFix #70264: CLI server directory traversal
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.

9 years agoFix leak in previous commit
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.

9 years agoDon't copy zend_strings during exception creation
Nikita Popov [Fri, 14 Aug 2015 14:16:27 +0000 (16:16 +0200)]
Don't copy zend_strings during exception creation

Minor optimization...

9 years agofix array size calculation for range, related to bug #70239
Anatol Belski [Fri, 14 Aug 2015 12:12:22 +0000 (14:12 +0200)]
fix array size calculation for range, related to bug #70239

9 years agoadd range() tests
Anatol Belski [Fri, 14 Aug 2015 12:10:27 +0000 (14:10 +0200)]
add range() tests

9 years agoFixed bug #70239 Creating a huge array doesn't result in exhausted, but segfault
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

9 years agoupdated NEWS
Christoph M. Becker [Fri, 14 Aug 2015 12:32:56 +0000 (14:32 +0200)]
updated NEWS

9 years agoMerge branch 'PHP-5.6'
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)

9 years agoupdated NEWS
Christoph M. Becker [Fri, 14 Aug 2015 12:20:37 +0000 (14:20 +0200)]
updated NEWS

9 years agoFix #70266 (DateInterval::__construct.interval_spec is not supposed to be optional)
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.

9 years agoRemove useless insert
Xinchen Hui [Fri, 14 Aug 2015 09:09:27 +0000 (17:09 +0800)]
Remove useless insert

9 years agoFixed dumpbt
Xinchen Hui [Fri, 14 Aug 2015 08:20:53 +0000 (16:20 +0800)]
Fixed dumpbt

9 years agoSet expectations
Dmitry Stogov [Fri, 14 Aug 2015 07:59:39 +0000 (10:59 +0300)]
Set expectations

9 years agoWe don't need CVS/SVN keywords in UPGRADING.
Adam Harvey [Thu, 13 Aug 2015 19:40:46 +0000 (12:40 -0700)]
We don't need CVS/SVN keywords in UPGRADING.

9 years agoWe did eventually decide it was PHP 7.0, so make it so.
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.

9 years agoMerge branch 'pull-request/1454'
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

9 years agoSimplify the macro (HT_DATA_SIZE/HT_HASH_SIZE is not used outside Zend)
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)

9 years agoFixed similar issues(segfault on OOM)
Xinchen Hui [Thu, 13 Aug 2015 15:02:15 +0000 (23:02 +0800)]
Fixed similar issues(segfault on OOM)

9 years agoFixed segfault while OOM in pack_to_hash
Xinchen Hui [Thu, 13 Aug 2015 14:42:18 +0000 (22:42 +0800)]
Fixed segfault while OOM in pack_to_hash

9 years agoFixed tests(I am not sure, these tests seems strange, anyway it passes
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)

9 years agoupdated NEWS
Christoph M. Becker [Thu, 13 Aug 2015 12:30:05 +0000 (14:30 +0200)]
updated NEWS

9 years agoMerge branch 'PHP-5.6'
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

9 years agoupdated NEWS
Christoph M. Becker [Thu, 13 Aug 2015 12:21:17 +0000 (14:21 +0200)]
updated NEWS

9 years agoFix #70232: Incorrect bump-along behavior with \K and empty string match
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.

9 years agoGet rid of implicit type casting in GC_*() macros in Zend/zend_types.h.
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.

9 years agoMerge branch 'PHP-5.6'
Derick Rethans [Thu, 13 Aug 2015 10:07:39 +0000 (11:07 +0100)]
Merge branch 'PHP-5.6'

9 years agoOf course, we support v2 in PHP 5.6 as well.
Derick Rethans [Thu, 13 Aug 2015 10:07:16 +0000 (11:07 +0100)]
Of course, we support v2 in PHP 5.6 as well.

9 years agoUpdated to version 2015.6 (2015f)
Derick Rethans [Thu, 13 Aug 2015 09:54:06 +0000 (10:54 +0100)]
Updated to version 2015.6 (2015f)

9 years agoEmpty merge
Derick Rethans [Thu, 13 Aug 2015 09:54:05 +0000 (10:54 +0100)]
Empty merge

9 years agoUpdated to version 2015.6 (2015f)
Derick Rethans [Thu, 13 Aug 2015 09:54:03 +0000 (10:54 +0100)]
Updated to version 2015.6 (2015f)

9 years agoTell timelib we support v2
Derick Rethans [Thu, 13 Aug 2015 09:50:28 +0000 (10:50 +0100)]
Tell timelib we support v2

9 years agoAdd entry for zend_memnstr change
Xinchen Hui [Thu, 13 Aug 2015 05:39:31 +0000 (13:39 +0800)]
Add entry for zend_memnstr change

9 years agoMerge branch 'master' of git.php.net:php-src
Xinchen Hui [Thu, 13 Aug 2015 05:30:50 +0000 (13:30 +0800)]
Merge branch 'master' of git.php.net:php-src

9 years agoFixed bug #70250 (extract() turns array elements to references)
Xinchen Hui [Thu, 13 Aug 2015 05:30:25 +0000 (13:30 +0800)]
Fixed bug #70250 (extract() turns array elements to references)

9 years agoMerge branch 'PHP-5.6'
Christopher Jones [Thu, 13 Aug 2015 05:01:24 +0000 (15:01 +1000)]
Merge branch 'PHP-5.6'

9 years agoPDO_OCI is not experimental
Christopher Jones [Thu, 13 Aug 2015 05:01:01 +0000 (15:01 +1000)]
PDO_OCI is not experimental

9 years agozend_hash_resize seems useless, use zend_hash_extend
Xinchen Hui [Thu, 13 Aug 2015 04:19:35 +0000 (12:19 +0800)]
zend_hash_resize seems useless, use zend_hash_extend

9 years agoFixed bug #70258 and #70253
Xinchen Hui [Thu, 13 Aug 2015 04:08:57 +0000 (12:08 +0800)]
Fixed bug #70258 and #70253

9 years agoRevert "Updated to version 2015.6 (2015f)"
Xinchen Hui [Thu, 13 Aug 2015 03:55:30 +0000 (11:55 +0800)]
Revert "Updated to version 2015.6 (2015f)"

This reverts commit 7b476a600b64834838b3521b05b1d0d90130483b.

9 years agoUpdated to version 2015.6 (2015f)
Derick Rethans [Wed, 12 Aug 2015 21:00:15 +0000 (22:00 +0100)]
Updated to version 2015.6 (2015f)

9 years agoEmpty merge
Derick Rethans [Wed, 12 Aug 2015 21:00:15 +0000 (22:00 +0100)]
Empty merge

9 years agoUpdated to version 2015.6 (2015f)
Derick Rethans [Wed, 12 Aug 2015 21:00:13 +0000 (22:00 +0100)]
Updated to version 2015.6 (2015f)

9 years agoupdated NEWS
Christoph M. Becker [Wed, 12 Aug 2015 17:03:35 +0000 (19:03 +0200)]
updated NEWS

9 years agoFix #70245: strtotime does not emit warning when 2nd parameter is object or string
Christoph M. Becker [Wed, 12 Aug 2015 17:01:04 +0000 (19:01 +0200)]
Fix #70245: strtotime does not emit warning when 2nd parameter is object or string

Caused by a refactoring strtotime() called
zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ...) instead of
zend_parse_parameters().

9 years agoimprove condition
Anatol Belski [Wed, 12 Aug 2015 08:58:21 +0000 (10:58 +0200)]
improve condition

same as CSPRNG, break by EOF

9 years agoFurther PHP 7 compat for OCI8
Christopher Jones [Wed, 12 Aug 2015 11:57:16 +0000 (21:57 +1000)]
Further PHP 7 compat for OCI8