summaryrefslogtreecommitdiff
path: root/ext/zlib/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-5.6.18' into PHP-7.0.3Stanislav Malyshev2016-02-011-10/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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' into PHP-5.6.18Stanislav Malyshev2016-02-011-10/+10
| |\ | | | | | | | | | | | | | | | | | | * PHP-5.5: fix tests fix NEWS update NEWS
| | * fix testsStanislav Malyshev2016-02-011-10/+10
| | |
* | | added test for gzgetss()marcosptf2015-08-233-0/+27
| | |
* | | Add support for string dictionaries, fix array dictionaries ({de,in}flate)Bob Weinand2015-05-211-0/+5
| | |
* | | Fix unrelated tests and zlib window sizeBob Weinand2015-05-151-1/+1
| | |
* | | Minor typo in warning messageBob Weinand2015-05-151-1/+1
| | |
* | | Add dictionary option to {in,de}flate_init()Bob Weinand2015-05-151-0/+25
| | |
* | | Improve ZBLOCK handling with zlib < 1.2.4Daniel Lowrey2015-05-073-7/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original commit for this issue (62b1293) assumed Z_BLOCK was only defined in < 1.2.4. However, this flush type *is* defined but is only unavailable for use with deflate(). This new commit correctly checks the ZLIB_VERNUM constant to determine if Z_BLOCK flush is available for the current deflate() operation and triggers an appropriate error as needed. New ZLIB_VERSION and ZLIB_VERNUM constants are also exposed in userland to allow testing this behavior in environments running zlib < 1.2.4 (ZLIB_VERNUM check is needed).
* | | Fix Z_BLOCK breakage when built against zlib < 1.2.4Daniel Lowrey2015-05-072-2/+10
| | |
* | | Tweak new deflate/inflate implementationsNikita Popov2015-04-251-1/+1
| | | | | | | | | | | | | | | Return NULL on zpp. Don't manually cast zvals to long.
* | | Merge branch 'deflate'Daniel Lowrey2015-04-248-0/+298
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * deflate: Add inflate_*() test cases Add incremental zlib inflate API Add deflate_*() test cases Several deflate_* changes (more after the jump) Add incremental zlib deflate API
| * | | Add inflate_*() test casesDaniel Lowrey2015-04-234-0/+148
| | | |
| * | | Add deflate_*() test casesDaniel Lowrey2015-04-234-0/+150
| | | |
* | | | Merge branch 'PHP-5.6'Stanislav Malyshev2015-04-143-21/+21
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: (27 commits) fix non-standard C update NEWS 5.4.41 next fix CVE num update NEWS Fix bug #69441 (Buffer Overflow when parsing tar/zip/phar in phar_set_inode) fix test fix type in fix for #69085 fix memory leak & add test Fix tests fix CVE num Fix bug #69337 (php_stream_url_wrap_http_ex() type-confusion vulnerability) Fix test Additional fix for bug #69324 More fixes for bug #69152 Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions) Fixed bug #69324 (Buffer Over-read in unserialize when parsing Phar) Fixed bug #69316 (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER) Fix bug #68486 and bug #69218 (segfault in apache2handler with apache 2.4) Fix bug #68819 (Fileinfo on specific file causes spurious OOM and/or segfault) ... Conflicts: Zend/zend_exceptions.c ext/curl/interface.c ext/dom/document.c ext/fileinfo/libmagic/softmagic.c ext/gd/gd.c ext/hash/hash.c ext/pgsql/pgsql.c ext/phar/phar.c ext/phar/phar_internal.h ext/standard/http_fopen_wrapper.c ext/standard/link.c ext/standard/streamsfuncs.c ext/xmlwriter/php_xmlwriter.c ext/zlib/zlib.c
| * | Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2015-04-143-21/+21
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: (27 commits) fix non-standard C update NEWS 5.4.41 next fix CVE num update NEWS Fix bug #69441 (Buffer Overflow when parsing tar/zip/phar in phar_set_inode) fix test fix type in fix for #69085 fix memory leak & add test Fix tests fix CVE num Fix bug #69337 (php_stream_url_wrap_http_ex() type-confusion vulnerability) Fix test Additional fix for bug #69324 More fixes for bug #69152 Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions) Fixed bug #69324 (Buffer Over-read in unserialize when parsing Phar) Fixed bug #69316 (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER) Fix bug #68486 and bug #69218 (segfault in apache2handler with apache 2.4) Fix bug #68819 (Fileinfo on specific file causes spurious OOM and/or segfault) ... Conflicts: ext/standard/http_fopen_wrapper.c
| | * Merge branch 'PHP-5.4.40' into PHP-5.5.24Stanislav Malyshev2015-04-123-21/+21
| | |\ | | | | | | | | | | | | | | | | | | | | * PHP-5.4.40: fix memory leak & add test Fix tests
| | | * Fix testsStanislav Malyshev2015-04-123-21/+21
| | | |
* | | | Use "float" and "integer" in typehint and zpp errorsAndrea Faulds2014-12-2115-51/+51
| | | |
* | | | Updated or skipped certain 32-bit testsAndrea Faulds2014-12-173-3/+6
| | | |
* | | | Merge branch 'PHP-5.6'Ferenc Kovacs2014-11-272-28/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | * PHP-5.6: the darwin specific test fails for me with the same output which is the expected for the original test I couldn't find anybody who managed to see this test passing, but I found a bunch of other reports on qa.php.net/reports and on google which do see this test failing on mac. if this change causes you to have this test failing on Mac, please drop me a mail so we can improve the current test so it passes for everybody. 5.5.21 now
| * | | Merge branch 'PHP-5.5' into PHP-5.6Ferenc Kovacs2014-11-272-28/+0
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: the darwin specific test fails for me with the same output which is the expected for the original test I couldn't find anybody who managed to see this test passing, but I found a bunch of other reports on qa.php.net/reports and on google which do see this test failing on mac. if this change causes you to have this test failing on Mac, please drop me a mail so we can improve the current test so it passes for everybody. 5.5.21 now Conflicts: configure.in main/php_version.h
| | * | the darwin specific test fails for me with the same output which is the ↵Ferenc Kovacs2014-11-272-28/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | expected for the original test I couldn't find anybody who managed to see this test passing, but I found a bunch of other reports on qa.php.net/reports and on google which do see this test failing on mac. if this change causes you to have this test failing on Mac, please drop me a mail so we can improve the current test so it passes for everybody.
| * | | Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2014-11-232-2/+2
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-5.5: Correct two zlib tests to use a string, not a const
| | * | Correct two zlib tests to use a string, not a constTim Siebels2014-11-232-2/+2
| | | |
| * | | Merge branch 'PHP-5.5' into PHP-5.6Andrey Hristov2014-08-062-0/+26
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Conflicts: ext/fileinfo/data_file.c ext/fileinfo/libmagic/softmagic.c ext/fileinfo/magicdata.patch
| | * | Merge branch 'PHP-5.4' into PHP-5.5Andrey Hristov2014-08-062-0/+26
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | | | | Conflicts: NEWS configure.in main/php_version.h
* | | | Correct two zlib tests to use a string, not a constTim Siebels2014-09-122-2/+2
| | | |
* | | | Merge branch 'master' into testDmitry Stogov2014-08-112-0/+26
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (39 commits) Add __debugInfo() to UPGRADING. fix TS build Update NEWS Update NEWS Update NEWS Small tidy ups and raise visibility of GitHub PR process Bug #41631: Observe socket read timeouts in SSL streams wrap int8_t and int16_t with #ifdef to avoid possible clashes - Updated to version 2014.6 (2014f) Removed Countable::count() change info from UPGRADE.INTERNALS too NEWS and UPGRADING for intdiv() Revert "Add SO_REUSEPORT + SO_BROADCAST support via socket stream context option" Fixed skip case for intdiv 64-bit test Use callback structure Add EXPECTF Fix handling of multi-result sets with PS...used to clean not only the result set but the whole PS. 5.5.17 now 5.4.33-dev now Add SO_REUSEPORT + SO_BROADCAST support via socket stream context option Add SO_REUSEPORT + SO_BROADCAST support via socket stream context option ... Conflicts: ext/fileinfo/libmagic/softmagic.c main/streams/xp_socket.c
| * \ \ \ Merge branch 'PHP-5.5' into PHP-5.6Michael Wallner2014-08-052-0/+26
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | * PHP-5.5: BFN Fixed Bug #67724
| | * | | Merge branch 'PHP-5.4' into PHP-5.5Michael Wallner2014-08-052-0/+26
| | |\ \ \ | | | |/ / | | |/| / | | | |/ | | | | * PHP-5.4: Fixed Bug #67724
| | | * Fixed Bug #67724Michael Wallner2014-08-052-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (chained zlib filters silently fail with large amounts of data) Use the same buffer size zlib uses internally to avoid Z_DATA_ERROR on massively compressed data
| | * | Test output relies on expose_php being onRasmus Lerdorf2014-07-141-0/+2
| | | |
| * | | Test output relies on expose_php being onRasmus Lerdorf2014-07-141-0/+2
| | | |
* | | | Merge branch 'master' into phpngDmitry Stogov2014-07-141-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (40 commits) Bug #67609: TLS connections fail behind HTTP proxy Updated NEWS for #67594 Updated NEWS for #67594 Fix #67594 - invisible colon should be stripped off header name Updated NEWS for 34407 Updated NEWS for 34407 Updated NEWS for 34407 Fix for bug #34407 - ucwords and title case fixed broken merged code Fixed a bug that cannot access custom request header stored in apache_request_headers() though array index. fixed broken merged code Fixed a bug that cannot access custom request header stored in apache_request_headers() though array index. Fixed a bug that cannot access custom request header stored in apache_request_headers() though array index. Fixed a bug that cannot access custom request header stored in apache_request_headers() though array index. Test output relies on expose_php being on 1.2 is a problematic float to print out Lower the default display precision for this test The test output is dependent on expose_php ini fix makefile in phpize mode fixe output_as_table() when no ext was enabled fix end of stream exception when generating makefile ... Conflicts: ext/standard/http_fopen_wrapper.c ext/standard/string.c sapi/cli/php_cli_server.c
| * | | | Test output relies on expose_php being onRasmus Lerdorf2014-07-111-0/+2
| |/ / /
* | | | Merge branch 'master' into phpngDmitry Stogov2014-06-124-4/+4
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (77 commits) NEWS entry for Fix potential segfault in dns_get_record() NEWS entry for "Fix potential segfault in dns_get_record()" NEWS entry for Fix potential segfault in dns_get_record( Fix potential segfault in dns_get_record() Revert "Add optional second arg to unserialize()" 5.5.15 now update NEWS Fix bug #66127 (Segmentation fault with ArrayObject unset) 5.4.31 next Add NEWS. This doesn't need UPGRADING (or an RFC), IMO. Fix broken test. Add a mime type map generation script and update the header. Move the mime type map out of php_cli_server.c for easier generation. Replace the CLI server's linear search for extensions with a hash table. fix test Remove unused included file NEWS NEWS NEWS Fixed Bug #67413 fileinfo: cdf_read_property_info insufficient boundary chec ... Conflicts: Zend/zend_closures.c Zend/zend_execute.c Zend/zend_vm_def.h Zend/zend_vm_execute.h ext/spl/spl_array.c ext/standard/basic_functions.c ext/standard/dns.c ext/standard/var.c
| * | | Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2014-06-084-4/+4
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-5.5: Remove superfluous echos.
| | * | Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2014-06-084-8/+8
| | |\ \ | | | |/ | | | | | | | | | | | | * PHP-5.4: Remove superfluous echos.
| | | * Remove superfluous echos.Jeff Welch2014-06-084-8/+8
| | | |
| | * | Merge branch 'PHP-5.4' into PHP-5.5Ferenc Kovacs2013-11-0613-15/+15
| | |\ \ | | | |/ | | | | | | | | | | | | Conflicts: ext/spl/tests/SplFileObject_rewind_error001.phpt
| | | * fix many parallel test issuesptarjan2013-11-0613-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While running these on HHVM I've run into a lot of parallelism issues. I'm backporting all the fixes I had to do in https://github.com/facebook/hiphop-php/blob/master/hphp/tools/import_zend_test.py#L650 to php core. Most of these changes were just filenames that were shared between tests, but I did more surgery on the fixed ports. I can apreciate port 31337 as much as the next nerd, but random ports are better for tests.
| | * | Merge branch 'PHP-5.4' into PHP-5.5Michael Wallner2013-08-091-0/+28
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | * PHP-5.4: fix bug #65391 Update NEWS
| | | * fix bug #65391Michael Wallner2013-08-091-0/+28
| | | | | | | | | | | | | | | | | | | | Unable to send vary header user-agent when ob_start('ob_gzhandler') is called
| | | * Merge branch 'pull-request/320'Stanislav Malyshev2013-06-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pull-request/320: this is test 5 not 6 fix race condition more shared names that create race conditions change to a unique filename more shared filenames yet another shared filename don't share a filename to stop race conditions fix race condition for 2-4 and normalize names for others fix race condition when running tests in parallel clean up after test Fix #64572: Clean up after the test Fix #64572: Clean up after the test
* | | | Refactor zlib (all tests pass)Xinchen Hui2014-05-052-4/+4
|/ / /
* | | fix many parallel test issuesptarjan2013-09-2613-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While running these on HHVM I've run into a lot of parallelism issues. I'm backporting all the fixes I had to do in https://github.com/facebook/hiphop-php/blob/master/hphp/tools/import_zend_test.py#L650 to php core. Most of these changes were just filenames that were shared between tests, but I did more surgery on the fixed ports. I can apreciate port 31337 as much as the next nerd, but random ports are better for tests.
* | | fix bug #65391Michael Wallner2013-08-091-0/+27
| | | | | | | | | | | | | | | Unable to send vary header user-agent when ob_start('ob_gzhandler') is called
* | | Merge branch 'PHP-5.5'Stanislav Malyshev2013-06-171-0/+4
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-5.5: Merge branch 'pull-request/320' Merge branch 'pull-request/320'
| * | Merge branch 'pull-request/320'Stanislav Malyshev2013-06-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pull-request/320: this is test 5 not 6 fix race condition more shared names that create race conditions change to a unique filename more shared filenames yet another shared filename don't share a filename to stop race conditions fix race condition for 2-4 and normalize names for others fix race condition when running tests in parallel clean up after test Fix #64572: Clean up after the test Fix #64572: Clean up after the test