summaryrefslogtreecommitdiff
path: root/main/streams
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug #74090 stream_get_contents maxlength>-1 returns empty stringAnatol Belski2017-02-152-1/+5
|
* Fixed #73496 (Invalid memory access in zend_inline_hash_func)Xinchen Hui2017-02-121-3/+3
| | | | no test script is added because it requre too much memory
* Merge branch 'PHP-5.6' into PHP-7.0Sara Golemon2017-01-091-4/+4
|\ | | | | | | | | * PHP-5.6: Fix open_basedir check for glob:// opendir wrapper
| * Fix open_basedir check for glob:// opendir wrapperSara Golemon2017-01-091-4/+4
| | | | | | | | | | | | | | | | 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.
| * Clear FG(user_stream_current_filename) when bailing outSara Golemon2016-10-111-6/+11
| | | | | | | | | | | | | | | | | | | | If a userwrapper opener E_ERRORs then FG(user_stream_current_filename) would remain set until the next request and would not be pointing at unallocated memory. Catch the bailout, clear the variable, then continue bailing. Closes https://bugs.php.net/bug.php?id=73188
* | add 'e' flag for fopen() to enable CLOEXECEvgeniy Makhrov2017-01-071-0/+6
| |
* | Update copyright headers to 2017Sammy Kaye Powers2017-01-0418-18/+18
| |
* | Clear FG(user_stream_current_filename) when bailing outSara Golemon2016-10-111-6/+11
| | | | | | | | | | | | | | | | | | | | If a userwrapper opener E_ERRORs then FG(user_stream_current_filename) would remain set until the next request and would not be pointing at unallocated memory. Catch the bailout, clear the variable, then continue bailing. Closes https://bugs.php.net/bug.php?id=73188
* | fix datatypeAnatol Belski2016-10-061-1/+1
| |
* | Merge branch 'PHP-5.6' into PHP-7.0Anatol Belski2016-09-231-1/+1
|\ \ | |/ | | | | | | * PHP-5.6: Revert "Fixed bug #73037 SoapServer reports Bad Request when gzipped"
| * Revert "Fixed bug #73037 SoapServer reports Bad Request when gzipped"Anatol Belski2016-09-231-1/+1
| | | | | | | | This reverts commit f9a699f6c3aa7acea922242a0f14731f6b829742.
| * Fixed bug #73037 SoapServer reports Bad Request when gzippedAnatol Belski2016-09-231-1/+1
| | | | | | | | (cherry picked from commit 410c68788ae4826807e8ced3f4a02e676142b22a)
| * Fixed bug #72505 (readfile() mangles files larger than 2G)Xinchen Hui2016-09-161-1/+1
| |
* | Fixed bug #73037 SoapServer reports Bad Request when gzippedAnatol Belski2016-09-231-1/+1
| |
* | Merge branch 'PHP-5.6' into PHP-7.0Xinchen Hui2016-08-171-0/+12
|\ \ | |/ | | | | | | | | | | | | * PHP-5.6: Fixed bug #72853 (stream_set_blocking doesn't work) Conflicts: main/streams/plain_wrapper.c
| * Fixed bug #72853 (stream_set_blocking doesn't work)Xinchen Hui2016-08-171-1/+13
| | | | | | | | Implemented PHP_STREAM_OPTION_META_DATA_API for plain_wrappers
* | Merge branch 'PHP-5.6' into PHP-7.0Pierrick Charron2016-07-271-5/+0
|\ \ | |/ | | | | | | Conflicts: main/streams/streams.c
| * Fixed bug #72686 (zlib: url support is broken).Pierrick Charron2016-07-271-5/+0
| | | | | | | | | | | | | | | | zlib: support is broken since a really long time. It never worked on versions >= PHP5.6 so we can just remove this dead code. Bug was introduced 2006-05-14 (Before 5.2.0)
* | Fixed bug #72505 (readfile() mangles files larger than 2G)Xinchen Hui2016-06-281-1/+1
| |
* | Merge branch 'PHP-5.6' into PHP-7.0Xinchen Hui2016-06-181-4/+14
|\ \ | |/ | | | | | | Conflicts: main/streams/xp_socket.c
| * Fixed bug #72439 (Stream socket with remote address leads to a segmentation ↵Xinchen Hui2016-06-181-5/+16
| | | | | | | | fault)
* | simplify expressionJoe Watkins2016-04-281-1/+1
| |
* | Fix bug #71629: sync php_url_decode definitionStanislav Malyshev2016-02-211-2/+2
| |
* | Merge branch 'PHP-5.6.18' into PHP-7.0.3Stanislav Malyshev2016-02-011-1/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6.18: fix tests fix NEWS Update NEWS update NEWS Fixed bug #71488: Stack overflow when decompressing tar archives update NEWS add missing headers for SIZE_MAX backport the escapeshell* functions hardening branch add tests Fix bug #71459 - Integer overflow in iptcembed() prepare 5.6.18RC1 Fix test when run with openssl < 1.0.2 (reorder so no more SSLv2 message) Fix skip message to work improve fix for bug #71201 Fixed bug #71323 - Output of stream_get_meta_data can be falsified by its input Fix bug #71391: NULL Pointer Dereference in phar_tar_setupmetadata() Fixed bug #71331 - Uninitialized pointer in phar_make_dirstream() Fix bug #71335: Type Confusion in WDDX Packet Deserialization Fix bug #71354 - remove UMR when size is 0 Conflicts: configure.in ext/phar/dirstream.c ext/phar/phar_object.c ext/phar/tar.c ext/standard/exec.c ext/standard/iptc.c ext/standard/math.c ext/standard/streamsfuncs.c ext/wddx/wddx.c main/php_version.h main/streams/memory.c
| * Merge branch 'PHP-5.5.32' into PHP-5.6.18Stanislav Malyshev2016-02-011-14/+16
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5.32: Fixed bug #71488: Stack overflow when decompressing tar archives update NEWS add missing headers for SIZE_MAX backport the escapeshell* functions hardening branch add tests Fix bug #71459 - Integer overflow in iptcembed() Fixed bug #71323 - Output of stream_get_meta_data can be falsified by its input Fix bug #71391: NULL Pointer Dereference in phar_tar_setupmetadata() Fix bug #71335: Type Confusion in WDDX Packet Deserialization Fix bug #71354 - remove UMR when size is 0
| | * Fixed bug #71323 - Output of stream_get_meta_data can be falsified by its inputStanislav Malyshev2016-01-161-14/+16
| | |
* | | Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-0118-18/+18
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * | Happy new year (Update copyright to 2016)Lior Kaplan2016-01-0118-18/+18
| | |
| * | Fixed bug #70198 Checking liveness does not work as expectedAnatol Belski2015-08-111-1/+11
| | |
| * | Fixed bug #69900 Too long timeout on pipesAnatol Belski2015-07-281-3/+3
| | |
| * | Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2015-03-081-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: added missing parentheses Fix #67626 Fix #63486 Conflicts: main/streams/userspace.c
| | * Merge branch 'pull-request/1106' into PHP-5.5Stanislav Malyshev2015-03-081-1/+11
| | |\ | | | | | | | | | | | | | | | | * pull-request/1106: Fix #67626
| | | * Fix #67626Julien Pauli2015-02-201-1/+11
| | |/
| * | Fix #67626Julien Pauli2015-03-081-1/+11
| | |
* | | This should be betterXinchen Hui2015-12-301-3/+2
| | |
* | | Make sure context is set to null to prevent use after freeCaleb Champlin2015-11-091-0/+1
| | |
* | | Add support for IPV6_V6ONLY on socketsBob Weinand2015-11-061-0/+10
| | |
* | | Fixed memory leak in php_stream_context_set_option()Dmitry Stogov2015-10-291-8/+9
| | |
* | | Removed or simplified incorrect SEPARATE_*() macros usage.Dmitry Stogov2015-09-291-3/+1
| | |
* | | add overflow checkAnatol Belski2015-09-021-1/+5
| | |
* | | Revert "Revert "suggest parentheses around ‘&&’ within ‘||’""Xinchen Hui2015-08-111-1/+1
| | | | | | | | | | | | This reverts commit ec1e8929c4e4c287d919945811475905e1391b7f.
* | | Revert "suggest parentheses around ‘&&’ within ‘||’"Xinchen Hui2015-08-111-1/+1
| | | | | | | | | | | | This reverts commit 4f2c0e045132de51473b643c68e07e5b2c2e218b.
* | | suggest parentheses around ‘&&’ within ‘||’Xinchen Hui2015-08-111-1/+1
| | |
* | | add EAGAIN checksAnatol Belski2015-08-111-3/+5
| | | | | | | | | | | | | | | EAGAIN and EWOULDBLOCK should be checked together and don't necessary, have same value. So checking both is better for portability.
* | | Fixed bug #70198 Checking liveness does not work as expectedAnatol Belski2015-08-111-1/+11
| | |
* | | fix pipe peek timeoutAnatol Belski2015-07-021-3/+3
| | |
* | | Fix alignment on 32-bitChristoph M. Becker2015-07-021-1/+2
| | |
* | | fix c/p issueAnatol Belski2015-07-021-6/+6
| | |
* | | initial stuff to make allow blocking pipes on windowsAnatol Belski2015-07-021-2/+22
| | |
* | | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-305-31/+31
| | | | | | | | | | | | semantick changes).