summaryrefslogtreecommitdiff
path: root/ext/phar/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | Fix tests for non English environmentsChristoph M. Becker2019-04-172-2/+2
| | | | |
* | | | | Merge branch 'PHP-7.4'Anatol Belski2019-04-101-0/+61
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * PHP-7.4: Fix phar:// include handling with file cache
| * | | | Merge branch 'PHP-7.3' into PHP-7.4Anatol Belski2019-04-101-0/+61
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * PHP-7.3: Fix phar:// include handling with file cache
| | * | | Merge branch 'PHP-7.2' into PHP-7.3Anatol Belski2019-04-101-0/+61
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * PHP-7.2: Fix phar:// include handling with file cache
| | | * | Fix phar:// include handling with file cacheAnatol Belski2019-04-101-0/+61
| | | | |
* | | | | Merge branch 'PHP-7.4'Peter Kokot2019-03-15312-1015/+1015
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * PHP-7.4: Replace dirname(__FILE__) by __DIR__ in tests
| * | | | Replace dirname(__FILE__) by __DIR__ in testsFabien Villepinte2019-03-15312-1015/+1015
| | | | |
* | | | | Adjust tests for zpp TypeError changeNikita Popov2019-03-1132-245/+240
| | | | |
* | | | | Merge branch 'PHP-7.4'Nikita Popov2019-03-073-107/+0
|\ \ \ \ \ | |/ / / /
| * | | | More zpp error/variation test removalsNikita Popov2019-03-073-107/+0
| | | | |
* | | | | Merge branch 'PHP-7.4'Anatol Belski2019-03-041-3/+3
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * PHP-7.4: Fix test portability
| * | | | Merge branch 'PHP-7.3' into PHP-7.4Anatol Belski2019-03-041-3/+3
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * PHP-7.3: Fix test portability
| | * | | Merge branch 'PHP-7.2' into PHP-7.3Anatol Belski2019-03-041-3/+3
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * PHP-7.2: Fix test portability
| | | * | Fix test portabilityAnatol Belski2019-03-041-3/+3
| | | | |
* | | | | Merge branch 'PHP-7.4'Stanislav Malyshev2019-03-033-2/+25
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.4: Fix bug #77586 - phar_tar_writeheaders_int() buffer overflow Update NEWS Fix test error message Fix bug #77563 - Uninitialized read in exif_process_IFD_in_MAKERNOTE Fix bug #77540 - Invalid Read on exif_process_SOFn Fix integer overflows on 32-bits Fix #77431 SplFileInfo::__construct() accepts NUL bytes Fix bug #77396 - Null Pointer Dereference in phar_create_or_parse_filename
| * | | | Merge branch 'PHP-7.3' into PHP-7.4Stanislav Malyshev2019-03-033-2/+25
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * PHP-7.3: Fix bug #77586 - phar_tar_writeheaders_int() buffer overflow
| | * | | Merge branch 'PHP-7.2' into PHP-7.3Stanislav Malyshev2019-03-033-2/+25
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * PHP-7.2: Fix bug #77586 - phar_tar_writeheaders_int() buffer overflow
| | | * | Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2019-03-033-2/+25
| | | |\ \ | | | | |/ | | | | | | | | | | | | | | | * PHP-7.1: Fix bug #77586 - phar_tar_writeheaders_int() buffer overflow
| | | | * Fix bug #77586 - phar_tar_writeheaders_int() buffer overflowStanislav Malyshev2019-03-033-2/+25
| | | | |
| * | | | Merge branch 'PHP-7.3' into PHP-7.4Stanislav Malyshev2019-03-031-0/+15
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.3: Update NEWS Fix test error message Fix bug #77563 - Uninitialized read in exif_process_IFD_in_MAKERNOTE Fix bug #77540 - Invalid Read on exif_process_SOFn Fix integer overflows on 32-bits Fix #77431 SplFileInfo::__construct() accepts NUL bytes Fix bug #77396 - Null Pointer Dereference in phar_create_or_parse_filename
| | * | | Merge branch 'PHP-7.2' into PHP-7.3Stanislav Malyshev2019-03-031-0/+15
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.2: Update NEWS Fix test error message Fix bug #77563 - Uninitialized read in exif_process_IFD_in_MAKERNOTE Fix bug #77540 - Invalid Read on exif_process_SOFn Fix integer overflows on 32-bits Fix #77431 SplFileInfo::__construct() accepts NUL bytes Fix bug #77396 - Null Pointer Dereference in phar_create_or_parse_filename
| | | * | Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2019-03-031-0/+15
| | | |\ \ | | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.1: Update NEWS Fix test error message Fix bug #77563 - Uninitialized read in exif_process_IFD_in_MAKERNOTE Fix bug #77540 - Invalid Read on exif_process_SOFn Fix integer overflows on 32-bits Fix #77431 SplFileInfo::__construct() accepts NUL bytes Fix bug #77396 - Null Pointer Dereference in phar_create_or_parse_filename
| | | | * Fix bug #77396 - Null Pointer Dereference in phar_create_or_parse_filenameStanislav Malyshev2019-03-031-0/+15
| | | | |
* | | | | Fix bug #77396 - Null Pointer Dereference in phar_create_or_parse_filenameStanislav Malyshev2019-03-031-0/+15
| | | | |
* | | | | Merge branch 'PHP-7.4'Nikita Popov2019-02-222-11/+11
|\ \ \ \ \ | |/ / / /
| * | | | Fix more file name collisions in phar testsNikita Popov2019-02-222-11/+11
| | | | |
* | | | | Merge branch 'PHP-7.4'Nikita Popov2019-02-228-67/+67
|\ \ \ \ \ | |/ / / /
| * | | | Use separate files in phar testsNikita Popov2019-02-228-75/+75
| | | | |
* | | | | Remove support for __autoload()Nikita Popov2019-01-305-32/+26
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | There are probably some improvements we can do to the SPL implementation now that __autoload() is gone. In particular having EG(autoload_func) as a property zend function, rather than a simple callback probably doesn't make sense.
* | | | Merge branch 'PHP-7.3'Stanislav Malyshev2019-01-061-0/+14
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.3: Fix #77367: Negative size parameter in mb_split Fix #77369 - memcpy with negative length via crafted DNS response Fix more issues with encodilng length Fix #77270: imagecolormatch Out Of Bounds Write on Heap Fix bug #77380 (Global out of bounds read in xmlrpc base64 code) Fix bug #77371 (heap buffer overflow in mb regex functions - compile_string_node) Fix bug #77370 - check that we do not read past buffer end when parsing multibytes Fix #77269: Potential unsigned underflow in gdImageScale Fix bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext) Fix bug #77242 (heap out of bounds read in xmlrpc_decode()) Regenerate certs for openssl tests
| * | | Merge branch 'PHP-7.2' into PHP-7.3Stanislav Malyshev2019-01-061-0/+14
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.2: Fix #77369 - memcpy with negative length via crafted DNS response Fix more issues with encodilng length Fix #77270: imagecolormatch Out Of Bounds Write on Heap Fix bug #77380 (Global out of bounds read in xmlrpc base64 code) Fix bug #77371 (heap buffer overflow in mb regex functions - compile_string_node) Fix bug #77370 - check that we do not read past buffer end when parsing multibytes Fix #77269: Potential unsigned underflow in gdImageScale Fix bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext) Fix bug #77242 (heap out of bounds read in xmlrpc_decode()) Regenerate certs for openssl tests
| | * | Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2019-01-061-0/+14
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.1: Fix #77369 - memcpy with negative length via crafted DNS response Fix more issues with encodilng length Fix #77270: imagecolormatch Out Of Bounds Write on Heap Fix bug #77380 (Global out of bounds read in xmlrpc base64 code) Fix bug #77371 (heap buffer overflow in mb regex functions - compile_string_node) Fix bug #77370 - check that we do not read past buffer end when parsing multibytes Fix #77269: Potential unsigned underflow in gdImageScale Fix bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext) Fix bug #77242 (heap out of bounds read in xmlrpc_decode()) Regenerate certs for openssl tests
| | | * Fix bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext)Stanislav Malyshev2019-01-061-0/+14
| | | |
* | | | Merge branch 'PHP-7.3'Stanislav Malyshev2018-12-033-1/+19
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | * PHP-7.3: Fix bug #77143 - add more checks to buffer reads Fix bug #77143 - add more checks to buffer reads Fix #77020: null pointer dereference in imap_mail
| * | | Merge branch 'PHP-7.2' into PHP-7.3Stanislav Malyshev2018-12-034-2/+24
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.2: Fix bug #77143 - add more checks to buffer reads Fix bug #77143 - add more checks to buffer reads Fix #77020: null pointer dereference in imap_mail Don't need interactive progress on git clones in Travis Fix TSRM signature - php_stream_stat macro has it's own TSRM Regenerate certificates for openssl tests Improve test for bug77022
| | * | Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2018-12-033-1/+19
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | | | | * PHP-7.1: Fix bug #77143 - add more checks to buffer reads Fix bug #77143 - add more checks to buffer reads Fix #77020: null pointer dereference in imap_mail
| | | * Merge branch 'PHP-7.0' into PHP-7.1Stanislav Malyshev2018-12-033-1/+19
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.0: Fix bug #77143 - add more checks to buffer reads Fix bug #77143 - add more checks to buffer reads Fix #77020: null pointer dereference in imap_mail
| | | | * Merge branch 'PHP-5.6' into PHP-7.0Stanislav Malyshev2018-12-033-1/+19
| | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Fix bug #77143 - add more checks to buffer reads Fix #77020: null pointer dereference in imap_mail
| | | | | * Fix bug #77143 - add more checks to buffer readsStanislav Malyshev2018-12-033-1/+19
| | | | | |
| * | | | | Merge branch 'PHP-7.2' into PHP-7.3Stanislav Malyshev2018-12-012-0/+33
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.2: Fix bug #77022 - use file mode or umask for new files
| * | | | | | Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-15148-149/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines in all *.phpt sections. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
| * | | | | | Trim trailing whitespace in *.phptPeter Kokot2018-10-14106-123/+123
| | | | | | |
| * | | | | | Sync leading and final newlines in source code filesPeter Kokot2018-10-1415-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* | | | | | | Merge branch 'PHP-7.2'Stanislav Malyshev2018-12-021-1/+5
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.2: Fix TSRM signature - php_stream_stat macro has it's own TSRM Regenerate certificates for openssl tests Improve test for bug77022
| * | | | | | Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2018-12-021-1/+5
| |\ \ \ \ \ \ | | |_|/ / / / | |/| | / / / | | | |/ / / | | |/| | | | | | | | | | | | | | | * PHP-7.1: Fix TSRM signature - php_stream_stat macro has it's own TSRM Regenerate certificates for openssl tests Improve test for bug77022
| | * | | | Merge branch 'PHP-7.0' into PHP-7.1Stanislav Malyshev2018-12-021-1/+5
| | |\ \ \ \ | | | | |/ / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.0: Fix TSRM signature - php_stream_stat macro has it's own TSRM Regenerate certificates for openssl tests Improve test for bug77022
| | | * | | Merge branch 'PHP-5.6' into PHP-7.0Stanislav Malyshev2018-12-021-1/+5
| | | |\ \ \ | | | | | |/ | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Fix TSRM signature - php_stream_stat macro has it's own TSRM Regenerate certificates for openssl tests Improve test for bug77022
| | | | * | Improve test for bug77022Stanislav Malyshev2018-12-021-1/+5
| | | | | |
| | | * | | Merge branch 'PHP-5.6' into PHP-7.0Stanislav Malyshev2018-12-012-0/+33
| | | |\ \ \ | | | | |/ / | | | | | | | | | | | | | | | | | | * PHP-5.6: Fix bug #77022 - use file mode or umask for new files
| * | | | | Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2018-12-012-0/+33
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | * PHP-7.1: Fix bug #77022 - use file mode or umask for new files