Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove typo from test header | Sara Golemon | 2017-05-10 | 1 | -1/+1 |
| | |||||
* | Tests to ensure BC with undocumented behavior used in hacks | Anatol Belski | 2017-05-01 | 1 | -0/+32 |
| | | | | Should become obsolete, once behaviors change. | ||||
* | Revert "Detect invalid port in xp_socket parse ip address" | Anatol Belski | 2017-04-27 | 1 | -37/+0 |
| | | | | This reverts commit bab0b99f376dac9170ac81382a5ed526938d595a. | ||||
* | Fix bug #74409 | Sebastian Bergmann | 2017-04-11 | 1 | -0/+1 |
| | |||||
* | Fixed condition check | Xinchen Hui | 2017-04-10 | 8 | -10/+10 |
| | |||||
* | Fixed bug #72071: Prevent Max-Age from being negative | Craig Duncan | 2017-04-09 | 3 | -2/+22 |
| | |||||
* | explicitly ignore php.ini for proc open tests | Anatol Belski | 2017-03-21 | 6 | -9/+9 |
| | | | | | | | In some cases, when an environment is unclean, tests might get stuck fe when some incorrect ini file is loaded. As the test depends on the core only, it is safer to explicitly ignore the ini. Any ini can be passed in the cmd itself, if needed. | ||||
* | Fix bug #74265 | Nikita Popov | 2017-03-17 | 1 | -4/+4 |
| | |||||
* | Return FALSE if error_log fails to write all bytes | Adam Saponara | 2017-03-16 | 1 | -1/+5 |
| | |||||
* | Detect invalid port in xp_socket parse ip address | Sara Golemon | 2017-03-07 | 1 | -0/+37 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | For historical reasons, fsockopen() accepts the port and hostname separately: fsockopen('127.0.0.1', 80) However, with the introdcution of stream transports in PHP 4.3, it became possible to include the port in the hostname specifier: fsockopen('127.0.0.1:80') Or more formally: fsockopen('tcp://127.0.0.1:80') Confusing results when these two forms are combined, however. fsockopen('127.0.0.1:80', 443) results in fsockopen() attempting to connect to '127.0.0.1:80:443' which any reasonable stack would consider invalid. Unfortunately, PHP parses the address looking for the first colon (with special handling for IPv6, don't worry) and calls atoi() from there. atoi() in turn, simply stops parsing at the first non-numeric character and returns the value so far. The end result is that the explicitly supplied port is treated as ignored garbage, rather than producing an error. This diff replaces atoi() with strtol() and inspects the stop character. If additional "garbage" of any kind is found, it fails and returns an error. | ||||
* | Fixed bug #74148 (ReflectionFunction incorrectly reports the number of ↵ | Xinchen Hui | 2017-02-23 | 1 | -0/+1 |
| | | | | arguments) | ||||
* | Fixed bug #74105 | Benjamin Robin | 2017-02-17 | 1 | -41/+45 |
| | | | | | If getrandom syscall is unavailable (ENOSYS), try to fallback on /dev/urandom. | ||||
* | Fix memory errors in url rewriter | Nikita Popov | 2017-02-16 | 2 | -234/+179 |
| | | | | Strings aren't terminated here... | ||||
* | Add json dep to test | Nikita Popov | 2017-02-16 | 1 | -0/+4 |
| | |||||
* | Fixed bug #74090 stream_get_contents maxlength>-1 returns empty string | Anatol Belski | 2017-02-15 | 1 | -0/+22 |
| | |||||
* | Fixed bug #73118 | Adam Saponara | 2017-02-12 | 3 | -46/+62 |
| | |||||
* | Fix detection of isnan and isinf | Christian Schmidt | 2017-02-08 | 2 | -7/+36 |
| | | | | | | The isnan() and isinf() are C99 macros not functions. Also fix is_infinite(-INF) in case isinf is not defined. | ||||
* | Revert "Fix detection of isnan and isinf" | Nikita Popov | 2017-02-06 | 2 | -34/+6 |
| | | | | This reverts commit 9ea0949f43959ff0cf519e7a10ef9de7a538cde3. | ||||
* | Fix detection of isnan and isinf | Christian Schmidt | 2017-02-05 | 2 | -6/+34 |
| | | | | | | The isnan() and isinf() are C99 macros not functions. Also fix is_infinite(-INF) in case isinf is not defined. | ||||
* | fix test for 32bits (int -> float) | Remi Collet | 2017-02-01 | 1 | -2/+2 |
| | |||||
* | Fixed #73973 - debug_zval_dump() assertion error for resource consts with ↵ | andrewnester | 2017-01-26 | 1 | -0/+9 |
| | | | | --enable-debug | ||||
* | Fixed bug #73965 DTrace reported as enabled when disabled | Remi Collet | 2017-01-20 | 1 | -1/+1 |
| | |||||
* | DNS CAA record type implementation and tests for ↵ | Marcus Bointon | 2017-01-18 | 2 | -2/+59 |
| | | | | https://bugs.php.net/bug.php?id=73850 | ||||
* | Merge branch 'PHP-5.6' into PHP-7.0 | Nikita Popov | 2017-01-16 | 3 | -0/+120 |
|\ | |||||
| * | Add additional serialize tests for fixed bugs | Nikita Popov | 2017-01-16 | 3 | -0/+120 |
| | | | | | | | | | | These have been fixed as a side-effect of the delayed __wakeup patch. | ||||
* | | Merge branch 'PHP-5.6' into PHP-7.0 | Nikita Popov | 2017-01-10 | 1 | -5/+5 |
|\ \ | |/ | |||||
| * | Fix glob-wrapper.phpt to not fail in Windows | Mitch Hagstrand | 2017-01-10 | 1 | -5/+5 |
| | | |||||
* | | pull-request/1807: | marcosptf | 2017-01-10 | 1 | -0/+202 |
| | | | | | | | | test for dns_get_record | ||||
* | | Merge branch 'PHP-5.6' into PHP-7.0 | Sara Golemon | 2017-01-09 | 1 | -0/+35 |
|\ \ | |/ | | | | | | | * PHP-5.6: Fix open_basedir check for glob:// opendir wrapper | ||||
| * | Fix open_basedir check for glob:// opendir wrapper | Sara Golemon | 2017-01-09 | 1 | -0/+35 |
| | | | | | | | | | | | | | | | | php_check_open_basedir() expects a local filesystem path, but we're handing it a `glob://...` URI instead. Move the check to after the path trim so that we're checking a meaningful pathspec. | ||||
| * | add skip when json not loaded | Remi Collet | 2017-01-06 | 1 | -0/+2 |
| | | |||||
* | | Un-XFAIL serialization test | Nikita Popov | 2017-01-10 | 1 | -2/+0 |
| | | |||||
* | | Fix check for linux getrandom syscall | Leigh | 2017-01-09 | 2 | -6/+1 |
| | | |||||
* | | Fixed bug #72979 money_format stores wrong length on AIX | Joe Watkins | 2017-01-09 | 1 | -0/+8 |
| | | |||||
* | | update ip2long_varation2 test to skip for AIX, see bug #72973 | Joe Watkins | 2017-01-09 | 1 | -0/+1 |
| | | |||||
* | | Fixed #72974 imap is undefined service on AIX | Joe Watkins | 2017-01-09 | 1 | -0/+9 |
| | | |||||
* | | Fix OOB read introduced by previous commit | Nikita Popov | 2017-01-08 | 1 | -4/+3 |
| | | | | | | | | Ooops... | ||||
* | | http_fopen_wrapper.c - Handle HTTP headers with varying white space | Rowan Collins | 2017-01-07 | 4 | -15/+208 |
| | | | | | | | | | | | | | | | | | | | | | | The stream handler assumed all HTTP headers contained exactly one space, but the standard says there may be zero or more. Should fix Bug #47021, and any other edge cases caused by a web server sending unusual spacing, e.g. the MIME type discovered from Content-Type: can no longer contain leading whitespace. We strip trailing whitespace from the headers added into $http_response_header as well. | ||||
* | | Implement github PR #1736 | Anatol Belski | 2017-01-07 | 2 | -0/+7 |
| | | | | | | | | This fixes leak issues on *BSD systems, as described in the PR. | ||||
* | | add stream_socket_sendto test from PR #1804 | Joe Watkins | 2017-01-06 | 1 | -0/+58 |
| | | |||||
* | | Merge branch 'pull-request/1588' into PHP-7.0 | Joe Watkins | 2017-01-06 | 2 | -7/+52 |
|\ \ | | | | | | | | | | | | | * pull-request/1588: Fixed #69442 closing of fd incorrect when PTS enabled | ||||
| * | | Implemented fix for incorrect filedescriptor closing | Joshua Thijssen | 2015-10-21 | 2 | -7/+52 |
| | | | |||||
* | | | Merge branch 'PHP-5.6' into PHP-7.0 | Nikita Popov | 2017-01-05 | 3 | -517/+590 |
|\ \ \ | | |/ | |/| | |||||
| * | | Add tests for delayed __wakeup() | Nikita Popov | 2017-01-05 | 7 | -0/+263 |
| | | | |||||
| * | | Implement delayed __wakeup | Nikita Popov | 2017-01-05 | 2 | -535/+622 |
| | | | |||||
* | | | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-04 | 126 | -126/+126 |
| | | | |||||
* | | | Fix build | Nikita Popov | 2017-01-03 | 1 | -2/+2 |
| | | | |||||
* | | | Merge branch 'pull-request/1905' | Joe Watkins | 2017-01-03 | 3 | -11/+519 |
| | | | | | | | | | | | | | | | * pull-request/1905: pack()/unpack() for Big Endian float/double and Little Endian float/double | ||||
* | | | Use correct string release function | Stanislav Malyshev | 2017-01-02 | 2 | -2/+2 |
| | | | |||||
* | | | Fix error reporting | Stanislav Malyshev | 2017-01-02 | 2 | -4/+4 |
| | | |