summaryrefslogtreecommitdiff
path: root/ext/standard
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-5.6' into PHP-7.0Stanislav Malyshev2017-07-042-2/+2
|\ | | | | | | | | * PHP-5.6: Fix tests
| * Fix testsStanislav Malyshev2017-07-041-2/+2
| |
* | Merge branch 'PHP-5.6' into PHP-7.0Stanislav Malyshev2017-07-041-0/+10
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Update NEWS Fix bug #74087 Fixed parsing of strange formats with mixed month/day and time strings Fix bug #74145 - wddx parsing empty boolean tag leads to SIGSEGV Fixed bug #74111 Fix #74435: Buffer over-read into uninitialized memory Fix bug #74603 - use correct buffer size Fix bug #74651 - check EVP_SealInit as it can return -1 Update NEWS Fix bug #73807
| * Fixed bug #74111Nikita Popov2017-07-044-517/+501
| |
| * fix test for 32bits (int -> float)Remi Collet2017-02-011-2/+2
| | | | | | | | (cherry picked from commit 0f1ae93bfa2feb3d0fd0b8d3036148df8ef856e2)
* | Fixed bug #74111Nikita Popov2017-07-043-519/+493
| |
* | Adapt for 32-bits which fails at different offset (49 vs 38)Remi Collet2017-07-041-1/+1
| |
* | fix datatypeAnatol Belski2017-07-042-2/+2
| |
* | Fixed bug #74101 and bug #74614Nikita Popov2017-07-044-34/+62
| |
* | Fix error if compiled without -fpermissive flag.ideal2017-06-231-1/+1
| |
* | fix bug #74780 parse_url() borken when query string contains colonjhdxr2017-06-222-0/+43
| |
* | Fix bug #73648 - integer overflow in substrStanislav Malyshev2017-06-201-6/+6
| |
* | Fixes bug #74708 reflection signatures for random_bytes+random_intTyson Andre2017-06-132-2/+21
| | | | | | | | | | They have 1 and 2 required parameters, respectively See https://secure.php.net/manual/en/function.random-int.php
* | Bugfix #74556 stream_socket_get_name() returns empty stringSara Golemon2017-05-282-0/+27
| | | | | | | | | | | | | | | | | | | | The original bug report had it returning '\0', but with a fix to abstract name handling (6d2d0bbda7) it now actually returns ''. Neither of these are good, as per unix(7) an empty socket name indicates an unbound name and "should not be inspected".
* | Bugfix #74598 ftp:// ignores contextSara Golemon2017-05-271-4/+4
| |
* | Remove typo from test headerSara Golemon2017-05-101-1/+1
| |
* | Tests to ensure BC with undocumented behavior used in hacksAnatol Belski2017-05-011-0/+32
| | | | | | | | Should become obsolete, once behaviors change.
* | Revert "Detect invalid port in xp_socket parse ip address"Anatol Belski2017-04-271-37/+0
| | | | | | | | This reverts commit bab0b99f376dac9170ac81382a5ed526938d595a.
* | Fix bug #74409Sebastian Bergmann2017-04-111-0/+1
| |
* | Fixed condition checkXinchen Hui2017-04-108-10/+10
| |
* | Fixed bug #72071: Prevent Max-Age from being negativeCraig Duncan2017-04-093-2/+22
| |
* | explicitly ignore php.ini for proc open testsAnatol Belski2017-03-216-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 #74265Nikita Popov2017-03-171-4/+4
| |
* | Return FALSE if error_log fails to write all bytesAdam Saponara2017-03-161-1/+5
| |
* | Detect invalid port in xp_socket parse ip addressSara Golemon2017-03-071-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 Hui2017-02-231-0/+1
| | | | | | | | arguments)
* | Fixed bug #74105Benjamin Robin2017-02-171-41/+45
| | | | | | | | | | If getrandom syscall is unavailable (ENOSYS), try to fallback on /dev/urandom.
* | Fix memory errors in url rewriterNikita Popov2017-02-162-234/+179
| | | | | | | | Strings aren't terminated here...
* | Add json dep to testNikita Popov2017-02-161-0/+4
| |
* | Fixed bug #74090 stream_get_contents maxlength>-1 returns empty stringAnatol Belski2017-02-151-0/+22
| |
* | Fixed bug #73118Adam Saponara2017-02-123-46/+62
| |
* | Fix detection of isnan and isinfChristian Schmidt2017-02-082-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 Popov2017-02-062-34/+6
| | | | | | | | This reverts commit 9ea0949f43959ff0cf519e7a10ef9de7a538cde3.
* | Fix detection of isnan and isinfChristian Schmidt2017-02-052-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 Collet2017-02-011-2/+2
| |
* | Fixed #73973 - debug_zval_dump() assertion error for resource consts with ↵andrewnester2017-01-261-0/+9
| | | | | | | | --enable-debug
* | Fixed bug #73965 DTrace reported as enabled when disabledRemi Collet2017-01-201-1/+1
| |
* | DNS CAA record type implementation and tests for ↵Marcus Bointon2017-01-182-2/+59
| | | | | | | | https://bugs.php.net/bug.php?id=73850
* | Merge branch 'PHP-5.6' into PHP-7.0Nikita Popov2017-01-163-0/+120
|\ \ | |/
| * Add additional serialize tests for fixed bugsNikita Popov2017-01-163-0/+120
| | | | | | | | | | These have been fixed as a side-effect of the delayed __wakeup patch.
* | Merge branch 'PHP-5.6' into PHP-7.0Nikita Popov2017-01-101-5/+5
|\ \ | |/
| * Fix glob-wrapper.phpt to not fail in WindowsMitch Hagstrand2017-01-101-5/+5
| |
* | pull-request/1807:marcosptf2017-01-101-0/+202
| | | | | | | | test for dns_get_record
* | Merge branch 'PHP-5.6' into PHP-7.0Sara Golemon2017-01-091-0/+35
|\ \ | |/ | | | | | | * PHP-5.6: Fix open_basedir check for glob:// opendir wrapper
| * Fix open_basedir check for glob:// opendir wrapperSara Golemon2017-01-091-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 loadedRemi Collet2017-01-061-0/+2
| |
* | Un-XFAIL serialization testNikita Popov2017-01-101-2/+0
| |
* | Fix check for linux getrandom syscallLeigh2017-01-092-6/+1
| |
* | Fixed bug #72979 money_format stores wrong length on AIXJoe Watkins2017-01-091-0/+8
| |
* | update ip2long_varation2 test to skip for AIX, see bug #72973Joe Watkins2017-01-091-0/+1
| |