Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix bug #77950 - Heap-buffer-overflow in _estrndup via exif_process_IFD_TAG | Stanislav Malyshev | 2019-04-30 | 3 | -1/+13 |
| | | | | | | I do not completely understand what is going on there, but I am pretty sure dir_entry <= offset_base if not a normal situation, so we better not to rely on such dir_entry. | ||||
* | Always use ZEND_SECURE_ZERO() when cleaning up data | Stanislav Malyshev | 2019-04-06 | 5 | -5/+7 |
| | | | | | | Optimizing compilers have an annoying tendency to throw out memsets over data that they think aren't used anymore. Apply secure zero-out in cases where this has potential to happen. | ||||
* | fix paste issue | Remi Collet | 2019-04-02 | 1 | -1/+1 |
| | |||||
* | Pointer arithmetic on void pointers is illegal | Christoph M. Becker | 2019-04-02 | 1 | -2/+2 |
| | | | | | We quick-fix this by casting to char*; it might be more appropriate to use char pointers in the first place. | ||||
* | Fixed bug #77831 - Heap-buffer-overflow in exif_iif_add_value in EXIF | Stanislav Malyshev | 2019-04-02 | 3 | -15/+41 |
| | |||||
* | Fix bug #77753 - Heap-buffer-overflow in php_ifd_get32s | Stanislav Malyshev | 2019-03-31 | 3 | -0/+20 |
| | |||||
* | Validate subject encoding in mb_split and mb_ereg_match | Nikita Popov | 2019-03-27 | 2 | -5/+12 |
| | | | | | We were already validating the subject encoding in most functions, but not these two. | ||||
* | Validate pattern against mbregex encoding | Nikita Popov | 2019-03-27 | 6 | -15/+31 |
| | | | | | | Oniguruma does not consistently perform this validation itself (at least on older versions), so make sure we check pattern encoding validity on the PHP side. | ||||
* | SQLite3: add DEFENSIVE config for SQLite >= 3.26.0 as a mitigation strategy ↵ | bohwaz | 2019-03-11 | 3 | -0/+50 |
| | | | | against potential security flaws | ||||
* | Sync with behavior change in OpenSSL 1.1.1b | Anatol Belski | 2019-03-08 | 1 | -1/+1 |
| | | | | | | | | | A behavior change in revealed by some openssl_decrypt() based test, where an encrypt API is used with a decrypt context. The EVP_Cipher* functions will automatically choose the right operation depending on the context passed. (cherry picked from commit 19a44ffb7be91344550fa700830b8e62a73031ba) | ||||
* | Fix bug #77586 - phar_tar_writeheaders_int() buffer overflow | Stanislav Malyshev | 2019-03-03 | 4 | -3/+31 |
| | |||||
* | Fix test error message | Stanislav Malyshev | 2019-03-03 | 1 | -1/+1 |
| | |||||
* | Fix bug #77563 - Uninitialized read in exif_process_IFD_in_MAKERNOTE | Stanislav Malyshev | 2019-03-03 | 3 | -1/+18 |
| | | | | Also fix for bug #77659 | ||||
* | Fix bug #77540 - Invalid Read on exif_process_SOFn | Stanislav Malyshev | 2019-03-03 | 3 | -2/+24 |
| | |||||
* | Fix integer overflows on 32-bits | Stanislav Malyshev | 2019-03-03 | 1 | -7/+7 |
| | |||||
* | Fix #77431 SplFileInfo::__construct() accepts NUL bytes | Christoph M. Becker | 2019-03-03 | 2 | -1/+10 |
| | | | | | `SplFileInfo::__construct()` has to expect a path instead of a string, analogous to `SplFileObject::__construct()`. | ||||
* | Fix bug #77396 - Null Pointer Dereference in phar_create_or_parse_filename | Stanislav Malyshev | 2019-03-03 | 2 | -0/+18 |
| | |||||
* | Still leaking for some reason, XFAIL for now, I'll look into it later. | Stanislav Malyshev | 2019-01-07 | 1 | -0/+2 |
| | |||||
* | Merge branch 'PHP-5.6' into PHP-7.1 | Stanislav Malyshev | 2019-01-06 | 5 | -2/+21 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Fix bug #77418 - Heap overflow in utf32be_mbc_to_code [ci skip] Add NEWS 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 #77418 - Heap overflow in utf32be_mbc_to_code | Stanislav Malyshev | 2019-01-06 | 5 | -2/+21 |
| | | |||||
| * | Fix more issues with encodilng length | Stanislav Malyshev | 2019-01-06 | 6 | -14/+38 |
| | | | | | | | | Should fix bug #77381, bug #77382, bug #77385, bug #77394. | ||||
| * | Fix #77270: imagecolormatch Out Of Bounds Write on Heap | Christoph M. Becker | 2019-01-06 | 2 | -2/+20 |
| | | | | | | | | | | | | | | At least some of the image reading functions may return images which use color indexes greater than or equal to im->colorsTotal. We cater to this by always using a buffer size which is sufficient for `gdMaxColors` in `gdImageColorMatch()`. | ||||
| * | Fix bug #77380 (Global out of bounds read in xmlrpc base64 code) | Stanislav Malyshev | 2019-01-06 | 2 | -2/+19 |
| | | |||||
| * | Fix bug #77371 (heap buffer overflow in mb regex functions - ↵ | Stanislav Malyshev | 2019-01-06 | 2 | -0/+11 |
| | | | | | | | | compile_string_node) | ||||
| * | Fix bug #77370 - check that we do not read past buffer end when parsing ↵ | Stanislav Malyshev | 2019-01-06 | 2 | -0/+22 |
| | | | | | | | | multibytes | ||||
| * | Fix #77269: Potential unsigned underflow in gdImageScale | Christoph M. Becker | 2019-01-06 | 2 | -9/+30 |
| | | | | | | | | | | | | Belatedly, we're porting the respective upstream patch[1]. [1] <https://github.com/libgd/libgd/commit/60bfb401ad5a4a8ae995dcd36372fe15c71e1a35> | ||||
| * | Fix bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext) | Stanislav Malyshev | 2019-01-06 | 2 | -1/+15 |
| | | |||||
| * | Fix bug #77242 (heap out of bounds read in xmlrpc_decode()) | Stanislav Malyshev | 2019-01-06 | 2 | -0/+13 |
| | | |||||
| * | Regenerate certs for openssl tests | Alexander Kurilo | 2019-01-02 | 5 | -44/+91 |
| | | |||||
* | | Fix test | Stanislav Malyshev | 2019-01-06 | 1 | -0/+2 |
| | | |||||
* | | Fix #77369 - memcpy with negative length via crafted DNS response | Stanislav Malyshev | 2019-01-06 | 1 | -0/+7 |
| | | |||||
* | | Fix more issues with encodilng length | Stanislav Malyshev | 2019-01-06 | 6 | -14/+38 |
| | | | | | | | | Should fix bug #77381, bug #77382, bug #77385, bug #77394. | ||||
* | | Fix #77270: imagecolormatch Out Of Bounds Write on Heap | Christoph M. Becker | 2019-01-06 | 2 | -2/+20 |
| | | | | | | | | | | | | | | At least some of the image reading functions may return images which use color indexes greater than or equal to im->colorsTotal. We cater to this by always using a buffer size which is sufficient for `gdMaxColors` in `gdImageColorMatch()`. | ||||
* | | Fix bug #77380 (Global out of bounds read in xmlrpc base64 code) | Stanislav Malyshev | 2019-01-06 | 2 | -2/+19 |
| | | |||||
* | | Fix bug #77371 (heap buffer overflow in mb regex functions - ↵ | Stanislav Malyshev | 2019-01-06 | 2 | -0/+11 |
| | | | | | | | | compile_string_node) | ||||
* | | Fix bug #77370 - check that we do not read past buffer end when parsing ↵ | Stanislav Malyshev | 2019-01-06 | 2 | -0/+22 |
| | | | | | | | | multibytes | ||||
* | | Fix #77269: Potential unsigned underflow in gdImageScale | Christoph M. Becker | 2019-01-06 | 2 | -9/+30 |
| | | | | | | | | | | | | Belatedly, we're porting the respective upstream patch[1]. [1] <https://github.com/libgd/libgd/commit/60bfb401ad5a4a8ae995dcd36372fe15c71e1a35> | ||||
* | | Fix bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext) | Stanislav Malyshev | 2019-01-06 | 2 | -1/+15 |
| | | |||||
* | | Fix bug #77242 (heap out of bounds read in xmlrpc_decode()) | Stanislav Malyshev | 2019-01-06 | 2 | -0/+13 |
| | | |||||
* | | Regenerate certs for openssl tests | Alexander Kurilo | 2019-01-06 | 5 | -44/+91 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Stanislav Malyshev | 2018-12-03 | 2 | -1/+12 |
|\ \ | | | | | | | | | | | | | * PHP-7.0: Fix null pointer deref in qprint-encode filter (bug #77231) | ||||
| * \ | Merge branch 'PHP-5.6' into PHP-7.0 | Stanislav Malyshev | 2018-12-03 | 2 | -1/+12 |
| |\ \ | | |/ | | | | | | | | | | * PHP-5.6: Fix null pointer deref in qprint-encode filter (bug #77231) | ||||
| | * | Fix null pointer deref in qprint-encode filter (bug #77231) | Stanislav Malyshev | 2018-12-03 | 2 | -1/+12 |
| | | | |||||
* | | | Merge branch 'PHP-7.0' into PHP-7.1 | Stanislav Malyshev | 2018-12-03 | 6 | -11/+55 |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | * 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.0 | Stanislav Malyshev | 2018-12-03 | 1 | -1/+1 |
| |\ \ | | |/ | | | | | | | | | | * PHP-5.6: Fix bug #77143 - add more checks to buffer reads | ||||
| | * | Fix bug #77143 - add more checks to buffer reads | Stanislav Malyshev | 2018-12-03 | 4 | -10/+40 |
| | | | |||||
| * | | Merge branch 'PHP-5.6' into PHP-7.0 | Stanislav Malyshev | 2018-12-03 | 6 | -11/+55 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | * 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 reads | Stanislav Malyshev | 2018-12-03 | 4 | -10/+40 |
| | |/ | |||||
| | * | Fix #77020: null pointer dereference in imap_mail | Stanislav Malyshev | 2018-12-03 | 2 | -1/+15 |
| | | | | | | | | | | | | | | | | | | If an empty $message is passed to imap_mail(), we must not set message to NULL, since _php_imap_mail() is not supposed to handle NULL pointers (opposed to pointers to NUL). | ||||
* | | | Merge branch 'PHP-7.0' into PHP-7.1 | Stanislav Malyshev | 2018-12-02 | 5 | -74/+63 |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | * PHP-7.0: Fix TSRM signature - php_stream_stat macro has it's own TSRM Regenerate certificates for openssl tests Improve test for bug77022 |